-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.mergify.yml
39 lines (38 loc) · 1.26 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
queue_rules:
- name: default
conditions:
# conditions for a PR to get merged (i.e., out of the queue)
- base=main
- status-success="check c bindings"
- status-success="check python bindings (ubuntu-latest, 3.8)"
- status-success="check-code-format"
pull_request_rules:
- name: rebase and merge when passing all checks
conditions:
# conditions for a PR to get queued
- base=main
- status-success="check c bindings"
- status-success="check python bindings (ubuntu-latest, 3.8)"
- status-success="check-code-format"
- label=status-merge-when-passing
- label!=status-work-in-progress
- "approved-reviews-by=@flux-framework/pfa"
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by=0"
- -title~=^\[*[Ww][Ii][Pp]
actions:
queue:
name: default
method: merge
update_method: rebase
- name: remove approved reviews when updated
conditions:
# conditions for approving reviews to be removed
- author!=@flux-framework/pfa
actions:
dismiss_reviews:
approved: true
changes_requested: false
message: |
All approving reviews have been removed because this pull request
was updated.