-
Notifications
You must be signed in to change notification settings - Fork 6
/
.mergify.yml
56 lines (50 loc) · 1.22 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
51
52
53
54
55
56
extends: .github
queue_rules:
- name: default
allow_inplace_checks: true
queue_conditions:
- and: &CheckRuns
- check-success=test
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
- "#review-requested=0"
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
merge_method: squash
- name: lowprio
allow_inplace_checks: true
queue_conditions:
- and: *CheckRuns
- "#commits=1"
- author=dependabot[bot]
merge_method: merge
batch_size: 7
batch_max_wait_time: 5min
commit_message_template:
queue_branch_merge_method: fast-forward
disallow_checks_interruption_from_queues:
- default
pull_request_rules:
- name: automatic merge
conditions:
- base=main
- label!=manual merge
actions:
queue:
- name: request review
conditions:
- -author=dependabot[bot]
- -merged
- -closed
- and: *CheckRuns
- "#approved-reviews-by=0"
- "#changes-requested-reviews-by=0"
- "review-requested!=@devs"
actions:
request_reviews:
teams:
- devs
merge_queue:
max_parallel_checks: 5