Skip to content

Commit 225e866

Browse files
Merge branch 'master' into dependabot/npm_and_yarn/babel/core-7.26.7
2 parents a0c7980 + ab0a471 commit 225e866

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
6666
auto-merge:
6767
needs: resolve-conflicts
68-
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.job == 'resolve-conflicts' && github.event.pull_request.head.ref != 'null'
68+
if: github.event.pull_request.user.login == 'dependabot[bot]'
6969
runs-on: ubuntu-latest
7070

7171
steps:
@@ -76,6 +76,7 @@ jobs:
7676
github-token: "${{ secrets.GITHUB_TOKEN }}"
7777

7878
- name: Enable auto-merge for Dependabot PRs
79-
run: gh pr merge --auto --merge ${{ github.event.pull_request.html_url }}
79+
run: gh pr merge --auto --merge "$PR_URL"
8080
env:
81+
PR_URL: ${{ github.event.pull_request.html_url }}
8182
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)