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 e58a234 commit cc1cb60Copy full SHA for cc1cb60
.github/workflows/auto-merge.yml
@@ -0,0 +1,15 @@
1
+name: auto merge
2
+on:
3
+ pull_request_target:
4
+
5
+jobs:
6
+ auto-merge:
7
+ if: github.actor == 'getsentry-bot' && startsWith(github.head_ref, 'craft-')
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - run: |
11
+ set -x
12
+ gh pr review --approve --repo "$GITHUB_REPOSITORY" "$PR"
13
+ gh pr merge --repo "$GITHUB_REPOSITORY" "$PR"
14
+ env:
15
+ PR: ${{ github.event.number }}
0 commit comments