-
Notifications
You must be signed in to change notification settings - Fork 59
/
.mergify.yml
60 lines (58 loc) · 1.99 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
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- status-success=Misc tests (lint)
- status-success=Misc tests (format)
# - status-success=Misc tests (licenses)
- status-success=Misc tests (security)
- status-success=Misc tests (docs)
- status-success=Unit tests (py39-unittest)
- status-success=Unit tests (py310-unittest)
- status-success=Integration tests (3.9)
- status-success=Integration tests (3.10)
pull_request_rules:
- name: Automatic merge on approval
actions:
queue:
name: default
method: rebase
conditions:
- -files~=^noggin/security/
- label!=WIP
- -draft
- approved-reviews-by=@fedora-infra/authdev
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- status-success=DCO
- status-success=Misc tests (lint)
- status-success=Misc tests (format)
# - status-success=Misc tests (licenses)
- status-success=Misc tests (security)
- status-success=Misc tests (docs)
- status-success=Unit tests (py39-unittest)
- status-success=Unit tests (py310-unittest)
- status-success=Integration tests (3.9)
- status-success=Integration tests (3.10)
- name: Sensitive files
actions:
queue:
name: default
method: rebase
conditions:
- files~=^noggin/security/
- label!=WIP
- -draft
- approved-reviews-by=@fedora-infra/authdev
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- status-success=DCO
- status-success=Misc tests (lint)
- status-success=Misc tests (format)
# - status-success=Misc tests (licenses)
- status-success=Misc tests (security)
- status-success=Misc tests (docs)
- status-success=Unit tests (py39-unittest)
- status-success=Unit tests (py310-unittest)
- status-success=Integration tests (3.9)
- status-success=Integration tests (3.10)