File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ pull_request_rules :
3+ - name : automatic merge
4+ conditions :
5+ - and : &base_checks
6+ - base=master
7+ - -label~=^acceptance-tests-needed|not-ready
8+ # wait explicitly for one of the final checks to show up to be on the
9+ # safe side even in case of checks not reporting back at all
10+ - " check-success~=🐪 Perl"
11+ # we don't need to spell out all tests but we can check a minimum
12+ # amount
13+ - " #check-success=>6"
14+ - " #check-failure=0"
15+ - " #check-pending=0"
16+ - linear-history
17+ - and :
18+ - " #approved-reviews-by>=2"
19+ - " #changes-requested-reviews-by=0"
20+ # https://doc.mergify.io/examples.html#require-all-requested-reviews-to-be-approved
21+ - " #review-requested=0"
22+ actions : &merge
23+ merge :
24+ method : merge
25+ - name : automatic merge on special label
26+ conditions :
27+ - and : *base_checks
28+ - and :
29+ # mergify config checks needs at least two rules in "and" so we repeat
30+ # one from the base checks
31+ - base=master
32+ - " label=merge-fast"
33+ actions : *merge
34+ - name : ask to resolve conflict
35+ conditions :
36+ - conflict
37+ actions :
38+ comment :
39+ message : This pull request is now in conflicts. Could you fix it? 🙏
You can’t perform that action at this time.
0 commit comments