We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e031444 commit 3f44061Copy full SHA for 3f44061
1 file changed
.github/workflows/automerge.yml
@@ -0,0 +1,20 @@
1
+name: Enable automerge on dependabot PRs
2
+
3
+on:
4
+ pull_request_target:
5
6
+jobs:
7
+ automerge:
8
+ name: Enable automerge on dependabot PRs
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
+ pull-requests: write
13
+ repository-projects: write
14
+ if: github.actor == 'dependabot[bot]'
15
+ steps:
16
+ - uses: actions/checkout@v6
17
+ - run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash
18
+ - run: gh pr review ${{ github.event.pull_request.html_url }} --approve
19
+ env:
20
+ GH_TOKEN: ${{ github.token }}
0 commit comments