-
Notifications
You must be signed in to change notification settings - Fork 34
/
.mergify.yml
50 lines (50 loc) · 1.21 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
pull_request_rules:
- name: automatic merge
conditions:
- and: &base_checks
- base=main
- -label~=^acceptance-tests-needed|not-ready
- "#check-failure=0"
- "#check-pending=0"
- linear-history
- and:
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "#review-requested=0"
actions: &merge
merge:
method: merge
- name: automatic merge on special label
conditions:
- and: *base_checks
- and:
- base=main
- "label=merge-fast"
actions: *merge
- name: automatic merge for dependabot updates
conditions:
- and: *base_checks
- and:
- base=main
- author=dependabot[bot]
- "label=waited"
actions:
merge:
method: squash
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflicts. Could you fix it? 🙏
- name: Wait for 1 day before validating merge
actions:
label:
add:
- waited
remove:
- waiting
conditions:
- and:
- updated-at<1 days ago
- author=dependabot[bot]