forked from maistra/envoy-openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
31 lines (31 loc) · 859 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
pull_request_rules:
- name: automatic merge with strict when reviewed and not work in progress
conditions:
- '#approved-reviews-by>=2'
- '#review-requested=0'
- '#changes-requested-reviews-by=0'
#- '#commented-reviews-by=0'
- label != "work in progress"
- label = "okay to merge"
#- status-success=Commit Message Lint
#- milestone ~= '^maistra-\d+-\d+$'
actions:
merge:
method: rebase
strict: smart
- name: label work in progress PRs
conditions:
- label != "work in progress"
- title ~= '^WIP\b'
actions:
label:
add:
- "work in progress"
- name: remove work in progress labels
conditions:
- label = "work in progress"
- title ~= '^(?!WIP\b)'
actions:
label:
remove:
- "work in progress"