-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.mergify.yml
50 lines (45 loc) · 1.17 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
50
queue_rules:
- name: high-priority
queue_conditions:
- label = reviewed
- label = high priority
- check-success = Ruby
queue_branch_prefix: merge_queue_high_
allow_checks_interruption: true
- name: default
queue_conditions:
- label = reviewed
- -label = high priority
- check-success = Ruby
queue_branch_prefix: merge_queue_
allow_checks_interruption: true
priority_rules:
- name: cve
conditions:
- label = cve
merge_queue:
max_parallel_checks: 4
pull_request_rules:
- name: Add a queue label when PR is queued
description: Toggle the queue label when a pull request is (un)queued.
conditions:
- queue-position > 0
actions:
label:
toggle:
- merge-queued
- name: Label first PR of Mergify Stacks PRs
description: The first PR of a Mergify stack should be labeled as such
conditions:
- "body ~= ^Change-Id:"
- -base ~= ^mergify_cli/
actions:
label:
toggle:
- top of the stack
- name: Automatic add the queue when reviewed
conditions:
- label = reviewed
actions:
queue:
merge_method: merge