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 2396c4b commit 21edcb4Copy full SHA for 21edcb4
.github/workflows/auto-merge-dependabot.yml
@@ -0,0 +1,31 @@
1
+name: Auto Merge Dependabot PRs
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - synchronize
8
+ - reopened
9
10
+jobs:
11
+ auto-merge-dependabot:
12
+ runs-on: ubuntu-latest
13
14
+ if: github.actor == 'dependabot[bot]'
15
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v3
19
20
+ - name: Auto-approve Dependabot PRs
21
+ if: success()
22
+ uses: hmarr/auto-approve-action@v3
23
+ with:
24
+ github-token: ${{ secrets.GITHUB_TOKEN }}
25
26
+ - name: Auto-merge Dependabot PRs
27
28
+ uses: "peter-evans/enable-pull-request-automerge@v3"
29
30
+ pull-request-number: ${{ github.event.pull_request.number }}
31
0 commit comments