-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
44 lines (43 loc) · 1003 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
37
38
39
40
41
42
43
44
queue_rules:
- name: default
queue_conditions:
- base = main
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
merge_conditions: []
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
merge_method: squash
pull_request_rules:
- name: Put PRs in queue (squash)
conditions:
- base = main
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
actions:
delete_head_branch:
- name: Label core contributions
actions:
label:
add:
- contribution/core
conditions:
- author~=^(pgollucci)$
- label!=contribution/core
- name: Label auto-merge for core
actions:
label:
add:
- auto-merge
conditions:
- label=contribution/core
- label!=auto-merge
- name: refactored queue action rule
conditions: []
actions:
queue:
merge_queue:
max_parallel_checks: 1