-
Notifications
You must be signed in to change notification settings - Fork 29
/
.mergify.yml
34 lines (34 loc) · 1012 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
conditions:
- and: &base_checks
- -label~=^acceptance-tests-needed|not-ready
- base=master
- "status-success~=test"
- "#check-failure=0"
- "#check-pending=0"
- linear-history
- and:
- "#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"
actions: &merge
merge:
method: merge
- name: automatic merge on special label
conditions:
- and: *base_checks
- and:
# mergify config checks needs at least two rules in "and" so we repeat
# one from the base checks
- base=master
- "label=merge-fast"
actions: *merge
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflicts. Could you fix it? 🙏