We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
auto-merge
1 parent 425ab43 commit bdc4939Copy full SHA for bdc4939
.github/workflows/auto-merge.yml
@@ -0,0 +1,17 @@
1
+name: Auto-merge
2
+on:
3
+ workflow_run:
4
+ workflows: ["build", "Build"]
5
+ branches: ["auto-merge"]
6
+ types:
7
+ - completed
8
+
9
+jobs:
10
+ on-success:
11
+ runs-on: ubuntu-latest
12
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Push current head to main. FF-only
16
+ run: git push origin HEAD:main
17
.github/workflows/build.yml
@@ -5,7 +5,7 @@ name: Build
on:
push:
- branches: [ "main" ]
+ branches: [ "main", "auto-merge" ]
pull_request:
branches: [ "main" ]
0 commit comments