-
Notifications
You must be signed in to change notification settings - Fork 2
/
.mergify.yml
34 lines (34 loc) · 854 Bytes
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pull_request_rules:
- name: automatic merge when GitHub branch protection passes (others)
conditions:
- base=master
- -author~=^dependabot(|-preview)\[bot\]$
- 'label=:shipit: merge'
actions:
merge:
method: squash
strict: smart+fasttrack
- name: auto merge github-actions
conditions:
- 'label=github-actions'
- author~=^dependabot(|-preview)\[bot\]$
actions:
label:
add:
- ':shipit: merge'
- name: automatic merge when GitHub branch protection passes
conditions:
- merged
- 'label=:shipit: merge'
actions:
label:
remove:
- ':shipit: merge'
- name: delete head branch after merge
conditions:
- merged
actions:
label:
remove:
- ':shipit: merge'
delete_head_branch: {}