forked from catalyst-team/catalyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
38 lines (38 loc) · 1.18 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
pull_request_rules:
- name: remove outdated reviews
conditions: []
actions:
dismiss_reviews: {}
- name: automatic merge for master when CI passes and 2 review
conditions:
- "#approved-reviews-by>=2"
- approved-reviews-by!=github-actions
- status-success=codestyle (ubuntu-18.04, 3.6)
- status-success=dl-cpu (ubuntu-18.04, 3.6, minimal)
- status-success=dl-cpu (ubuntu-18.04, 3.6, latest)
- label!=WIP
actions:
merge:
method: squash
- name: automatic merge for master when CI passes and 2 review
conditions:
- "#approved-reviews-by>=3"
- approved-reviews-by=github-actions
- status-success=codestyle (ubuntu-18.04, 3.6)
- status-success=dl-cpu (ubuntu-18.04, 3.6, minimal)
- status-success=dl-cpu (ubuntu-18.04, 3.6, latest)
- label!=WIP
actions:
merge:
method: squash
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: "This pull request is now in conflicts. @{{ author }}, could you fix it? 🙏"