-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy path.mergify.yml
33 lines (30 loc) · 899 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
queue_rules:
- name: main
queue_conditions:
- base=main
- -draft
- label!=do-not-merge
merge_conditions:
# Mergify automatically applies status check, approval, and conversation rules,
# which are the same as the GitHub main branch protection rules
# https://docs.mergify.com/conditions/#about-branch-protection
- base=main
allow_inplace_checks: true
batch_size: 2
# Wait for a few minutes to embark 2 tickets together in a merge train
batch_max_wait_time: "3 minutes"
merge_method: squash
pull_request_rules:
- name: main queue triggered when CI passes with 1 review
conditions: []
actions:
queue:
priority_rules:
- name: Priority rule from queue `main`
conditions:
- base=main
- -draft
- label!=do-not-merge
allow_checks_interruption: true
merge_queue:
max_parallel_checks: 1