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 00b3d60 commit 5f4ff10Copy full SHA for 5f4ff10
1 file changed
.github/workflows/automerge.yml
@@ -0,0 +1,16 @@
1
+name: Bot auto-merge
2
+on: pull_request_target # yamllint disable-line rule:truthy
3
+
4
+permissions:
5
+ contents: write
6
+ pull-requests: write
7
8
+jobs:
9
+ autobot:
10
+ runs-on: ubuntu-latest
11
+ if: github.event.pull_request.user.login == 'dependabot[bot]'
12
+ steps:
13
+ - name: Enable auto-merge for bot PRs
14
+ run: gh pr merge --auto --squash "$PR_URL"
15
+ env:
16
+ PR_URL: ${{github.event.pull_request.html_url}}
0 commit comments