-
Notifications
You must be signed in to change notification settings - Fork 19
/
.mergify.yml
43 lines (40 loc) · 1002 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
pull_request_rules:
- name: Add CI label
conditions:
- or:
- "title~=^tox:"
- "title~=^ci:"
- "files~=tox.ini"
actions:
label:
add:
- ci
- name: Add Mergify label
conditions:
- or:
- "title~=^mergify:"
- "files~=.mergify.yml$"
actions:
label:
add:
- mergify
- name: Automatic merge on approval
conditions:
- and:
- "check-success=build (docs)"
- "check-success=build (linter)"
- "check-success=build (pkglint)"
- "check-success=build (3.8)"
- "check-success=build (3.9)"
- "check-success=build (3.10)"
- "check-success=build (3.11)"
- "check-success=build (3.12)"
- "-draft"
- or:
- "approved-reviews-by=dhellmann"
- "author=dhellmann"
- "approved-reviews-by=janbrohl"
- "author=janbrohl"
actions:
merge:
method: merge