We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0c7980 + ab0a471 commit 225e866Copy full SHA for 225e866
.github/workflows/dependabot-auto-merge.yml
@@ -65,7 +65,7 @@ jobs:
65
66
auto-merge:
67
needs: resolve-conflicts
68
- if: github.event.pull_request.user.login == 'dependabot[bot]' && github.job == 'resolve-conflicts' && github.event.pull_request.head.ref != 'null'
+ if: github.event.pull_request.user.login == 'dependabot[bot]'
69
runs-on: ubuntu-latest
70
71
steps:
@@ -76,6 +76,7 @@ jobs:
76
github-token: "${{ secrets.GITHUB_TOKEN }}"
77
78
- name: Enable auto-merge for Dependabot PRs
79
- run: gh pr merge --auto --merge ${{ github.event.pull_request.html_url }}
+ run: gh pr merge --auto --merge "$PR_URL"
80
env:
81
+ PR_URL: ${{ github.event.pull_request.html_url }}
82
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments