forked from os-autoinst/os-autoinst-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
29 lines (29 loc) · 833 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
pull_request_rules:
- name: automatic merge
conditions:
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
# https://doc.mergify.io/examples.html#require-all-requested-reviews-to-be-approved
- "#review-requested=0"
- -label~=^acceptance-tests-needed|not-ready
- base=master
- "#check-failure=0"
- "#check-pending=0"
- linear-history
actions:
merge:
method: merge
- name: automatic merge on special label
conditions:
- -label~=^acceptance-tests-needed|not-ready
- "label=merge-fast"
- base=master
actions:
merge:
method: merge
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflicts. Could you fix it? 🙏