-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.mergify.yml
49 lines (48 loc) · 1.45 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
queue_rules:
- name: default
conditions:
- "status-success=test (3.x, 12, py3-cov)"
- "status-success=test (3.x, 12, lint)"
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:
queue:
method: rebase
name: default
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:
queue:
method: merge
name: default
delete_head_branch: {}