Skip to content

Commit c654adf

Browse files
committed
ci(actions): add auto-merge action
1 parent 15330f0 commit c654adf

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/automerge.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Merge
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/automerge-action@f81beb99aef41bb55ad072857d43073fba833a98'
26+
env:
27+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
28+
MERGE_LABELS: 'automerge,!work in progress'
29+
MERGE_REMOVE_LABELS: 'automerge'
30+
MERGE_METHOD: 'rebase'
31+
MERGE_COMMIT_MESSAGE: 'pull-request-description'
32+
MERGE_FORKS: 'false'
33+
MERGE_RETRIES: '6'
34+
MERGE_RETRY_SLEEP: '10000'
35+
UPDATE_LABELS: ''
36+
UPDATE_METHOD: 'rebase'

0 commit comments

Comments
 (0)