-
Notifications
You must be signed in to change notification settings - Fork 59
/
.mergify.yml
40 lines (39 loc) · 1.15 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
queue_rules:
- name: default
conditions:
- base=master
- status-success="validate commits"
- status-success="ubuntu"
- status-success="macos"
- status-success="coverage"
- label="merge-when-passing"
- label!="work-in-progress"
- "approved-reviews-by=@chaos/chaos-developers"
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by=0"
- -title~=^\[*[Ww][Ii][Pp]
pull_request_rules:
- name: rebase and merge when passing all checks
conditions:
- base=master
- label="merge-when-passing"
- label!="work-in-progress"
- "approved-reviews-by=@chaos/chaos-developers"
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by=0"
- -title~=^\[*[Ww][Ii][Pp]
actions:
queue:
name: default
method: merge
update_method: rebase
- name: remove outdated approved reviews
conditions:
- author!=@chaos-developers
actions:
dismiss_reviews:
approved: true
changes_requested: false
message: |
Approving reviews have been dismissed because this pull request
was updated.