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 5c5e91f commit 4e65d3eCopy full SHA for 4e65d3e
.github/workflows/auto_approve_and_merge.yml
@@ -0,0 +1,24 @@
1
+name: Auto-approve and Auto-merge Dependabot PRs
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ auto-approve-and-merge:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Auto-approve Dependabot PRs
14
+ if: github.actor == 'dependabot[bot]'
15
+ uses: hmarr/auto-approve-action@v3
16
+ with:
17
+ github-token: ${{ secrets.GITHUB_TOKEN }}
18
19
+ - name: Enable auto-merge for Dependabot PRs
20
21
+ uses: peter-evans/enable-pull-request-automerge@v3
22
23
+ token: ${{ secrets.GITHUB_TOKEN }}
24
+ merge-method: merge
0 commit comments