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 71da251 commit da33fd9Copy full SHA for da33fd9
1 file changed
.github/workflows/auto-merge.yaml
@@ -0,0 +1,20 @@
1
+name: Auto-merge
2
+on:
3
+ pull_request_target:
4
+ types: [opened, synchronize, reopened]
5
+
6
+permissions:
7
+ contents: write
8
+ pull-requests: write
9
10
+jobs:
11
+ auto-merge:
12
+ name: 🤝 Auto-merge
13
+ runs-on: ubuntu-latest
14
+ if: github.actor == 'gaborbernat' || github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' || github.actor == 'github-actions[bot]'
15
+ steps:
16
+ - name: 🔀 Enable auto-merge
17
+ run: gh pr merge --auto --squash "$PR_URL"
18
+ env:
19
+ PR_URL: ${{ github.event.pull_request.html_url }}
20
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments