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.
1 parent cbd0369 commit b9d5ceeCopy full SHA for b9d5cee
.github/workflows/dependabot.yml
@@ -0,0 +1,19 @@
1
+name: Dependabot Auto-Merge
2
+on: pull_request
3
+
4
+permissions:
5
+ contents: write
6
+ pull-requests: write
7
8
+jobs:
9
+ dependabot:
10
+ runs-on: ubuntu-latest
11
+ if: ${{ github.actor == 'dependabot[bot]' }}
12
+ steps:
13
+ - name: Enable auto-merge for Dependabot PRs
14
+ run: |
15
+ gh pr review --approve "$PR_URL"
16
+ gh pr merge --auto --merge "$PR_URL"
17
+ env:
18
+ PR_URL: ${{ github.event.pull_request.html_url }}
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments