We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee1dc33 + 1d12bbf commit a176109Copy full SHA for a176109
1 file changed
.github/workflows/bot-automerge.yaml
@@ -0,0 +1,20 @@
1
+name: Auto-merge bot PRs
2
+
3
+on: pull_request
4
5
+permissions:
6
+ contents: write
7
+ pull-requests: write
8
9
+jobs:
10
+ automerge:
11
+ runs-on: ubuntu-latest
12
+ if: (github.event.pull_request.user.login == 'dependabot[bot]' ||
13
+ github.event.pull_request.user.login == 'pre-commit-ci[bot]') &&
14
+ github.repository == 'sgibson91/bump-helm-deps-action'
15
+ steps:
16
+ - name: Enable auto-merge for bot PRs
17
+ run: gh pr merge --auto --merge "$PR_URL"
18
+ env:
19
+ PR_URL: ${{ github.event.pull_request.html_url }}
20
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments