-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.mergify.yml
65 lines (64 loc) · 2.08 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
queue_rules:
- name: duplicated default from Automatic merge on approval
queue_conditions:
- "author~=^(pyup-bot|dependabot\\[bot\\])$"
- "-merged"
- "status-success=test (3.x, 12, py3-cov)"
- "status-success=test (3.x, 12, lint)"
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "label=ready to merge"
merge_conditions: []
merge_method: merge
- name: default
queue_conditions:
- "author~=^(pyup-bot|dependabot\\[bot\\])$"
- "-merged"
- "status-success=test (3.x, 12, py3-cov)"
- "status-success=test (3.x, 12, lint)"
merge_conditions:
- "status-success=test (3.x, 12, py3-cov)"
- "status-success=test (3.x, 12, lint)"
merge_method: rebase
pull_request_rules:
- name: Dependency updater - automatic merge on CI passing
conditions:
- "author~=^(pyup-bot|dependabot\\[bot\\])$"
- "-merged"
- "status-success=test (3.x, 12, py3-cov)"
- "status-success=test (3.x, 12, lint)"
actions:
delete_head_branch: {}
- name: Dependency updater - flag for human review on coverage failing
conditions:
- "author~=^(pyup-bot|dependabot)$"
- "-merged"
- "status-failure=test (3.x, 12, py3-cov)"
actions:
request_reviews:
users: [lukegb, felixoi]
comment:
message: "This PR failed tests; please review."
- name: Dependency updater - flag for human review on lint failing
conditions:
- "author~=^(pyup-bot|dependabot)$"
- "-merged"
- "status-failure=test (3.x, 12, lint)"
- "-status-failure=test (3.x, 12, py3-cov)"
actions:
request_reviews:
users: [lukegb, felixoi]
comment:
message: "This PR failed tests; please review."
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "label=ready to merge"
actions:
delete_head_branch: {}
- name: Automatic merge on approval + Dependency updater - automatic merge on CI
passing
conditions: []
actions:
queue: