This repository has been archived by the owner on Nov 28, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
.mergify.yml
60 lines (55 loc) · 1.5 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
57
58
59
60
extends: .github
shared:
DefaultQueueOptions: &DefaultQueueOptions
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
allow_inplace_checks: true
merge_method: squash
speculative_checks: 5
CheckRuns: &CheckRuns
- check-success=tox (3.8, py38)
- check-success=tox (3.9, py39)
- check-success=tox (3.10, py310)
- check-success=tox (3.11, py311)
- check-success=tox (3.12, py312)
- check-success=tox (3.12, pep8)
queue_rules:
- name: default
<<: *DefaultQueueOptions
queue_conditions:
- and: *CheckRuns
- "check-success=Rule: Conventional Commit (post_check)"
- or:
- "#approved-reviews-by>=1"
- label=no-review-needed
- "#changes-requested-reviews-by=0"
- "#commits=1"
- label!=work-in-progress
- label!=manual merge
merge_conditions:
- and: *CheckRuns
- name: lowprio
<<: *DefaultQueueOptions
queue_conditions:
- and: *CheckRuns
- "#commits=1"
- author=dependabot[bot]
merge_method: merge
merge_conditions:
- and: *CheckRuns
speculative_checks: 1
batch_size: 7
batch_max_wait_time: 5min
commit_message_template: null
queue_branch_merge_method: fast-forward
disallow_checks_interruption_from_queues:
- default
pull_request_rules:
- name: automatic merge
conditions:
- base=main
- "check-success=Rule: Conventional Commit (post_check)"
- label!=manual merge
actions:
queue: