We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18167e2 commit 8a1e770Copy full SHA for 8a1e770
.github/workflows/automerge-dependencies.yml
@@ -0,0 +1,22 @@
1
+name: Dependabot auto-merge
2
+on: pull_request
3
+
4
+permissions:
5
+ contents: write
6
7
+jobs:
8
+ dependabot:
9
+ runs-on: ubuntu-latest
10
+ if: ${{ github.actor == 'dependabot[bot]' }}
11
+ steps:
12
+ - name: Dependabot metadata
13
+ id: metadata
14
+ uses: dependabot/[email protected]
15
+ with:
16
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
17
+ - name: Enable auto-merge for Dependabot PRs
18
+ run: gh pr merge --auto --merge "$PR_URL"
19
+ env:
20
+ PR_URL: ${{github.event.pull_request.html_url}}
21
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22
0 commit comments