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 a7bd6c2 commit e46796aCopy full SHA for e46796a
.github/workflows/auto-merge.yml
@@ -0,0 +1,23 @@
1
+---
2
+name: Dependabot auto-approve
3
+on: pull_request_target
4
+
5
+permissions:
6
+ contents: write
7
+ pull-requests: write
8
9
+jobs:
10
+ dependabot:
11
+ runs-on: ubuntu-latest
12
+ if: ${{ github.actor == 'dependabot[bot]' }}
13
+ steps:
14
+ - name: Dependabot metadata
15
+ id: metadata
16
+ uses: dependabot/fetch-metadata@v1
17
+ with:
18
+ github-token: "${{ secrets.GH_TOKEN_FOR_UPDATES }}"
19
+ - name: Approve PR
20
+ run: gh pr review --approve "$PR_URL"
21
+ env:
22
+ PR_URL: ${{github.event.pull_request.html_url}}
23
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
0 commit comments