Skip to content

Commit b17603e

Browse files
authored
Add automerge workflow (#541)
1 parent a9c828f commit b17603e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: automerge
2+
on:
3+
pull_request:
4+
types:
5+
- labeled
6+
- unlabeled
7+
- synchronize
8+
- opened
9+
- edited
10+
- ready_for_review
11+
- reopened
12+
- unlocked
13+
pull_request_review:
14+
types:
15+
- submitted
16+
check_suite:
17+
types:
18+
- completed
19+
status: {}
20+
jobs:
21+
automerge:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: automerge
25+
uses: "pascalgn/[email protected]"
26+
env:
27+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
28+
MERGE_LABELS: "automerge,!work in progress"
29+
MERGE_REMOVE_LABELS: "automerge"
30+
MERGE_METHOD: "squash"
31+
MERGE_COMMIT_MESSAGE: "pull-request-title"
32+
MERGE_RETRIES: "30"
33+
MERGE_RETRY_SLEEP: "60000"
34+
UPDATE_LABELS: ""
35+
UPDATE_METHOD: "rebase"
36+
UPDATE_RETRIES: "30"
37+
UPDATE_RETRY_SLEEP: "60000"

0 commit comments

Comments
 (0)