This repository was archived by the owner on Oct 6, 2022. It is now read-only.
forked from SpongePowered/SpongeAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mergify.yml
More file actions
43 lines (43 loc) · 1.31 KB
/
.mergify.yml
File metadata and controls
43 lines (43 loc) · 1.31 KB
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
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:
merge:
method: rebase
strict: smart
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:
merge:
method: merge
strict: smart
delete_head_branch: {}