forked from flux-framework/flux-sched
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
49 lines (48 loc) · 1.47 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:
- base=master
- status-success="validate commits"
- status-success="spelling"
- status-success="python format"
- status-success="python lint"
- status-success="bionic - gcc-8,distcheck"
- status-success="bionic - clang-6.0"
- status-success="bionic - test-install"
- status-success="focal"
- status-success="el7"
- status-success="el8"
- status-success="fedora33"
- status-success="fedora34"
- status-success="coverage"
- 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.