forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
36 lines (35 loc) · 1020 Bytes
/
.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
queue_rules:
- name: default
conditions:
- base=master
- label="merge-when-passing"
- label!="work-in-progress"
- "approved-reviews-by=@flux-framework/core"
- "#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"
- -title~=^\[*[Ww][Ii][Pp]
- "approved-reviews-by=@flux-framework/core"
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by=0"
actions:
queue:
name: default
method: merge
update_method: rebase
- name: remove outdated approved reviews
conditions:
- author!=@core
actions:
dismiss_reviews:
approved: true
changes_requested: false
message: |
Approving reviews have been dismissed because this pull request
was updated.