-
Notifications
You must be signed in to change notification settings - Fork 345
/
Copy pathmergify.yml
42 lines (40 loc) · 968 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
pull_request_rules:
- name: Test passed
conditions:
- or:
- base=master
- base~=2\.\d
- "status-success=Run Python Tests (3.7)"
- "status-success=Run Check Proto (3.7)"
- "status-success=Code lint check (3.7)"
- "status-success=Run Python Tests (3.11)"
- "status-success=Run Check Proto (3.11)"
- "status-success=Code lint check (3.11)"
actions:
label:
add:
- ci-passed
- name: Add needs-dco label when DCO check failed
conditions:
- or:
- base=master
- base~=2\.\d
- -status-success=DCO
actions:
label:
remove:
- dco-passed
add:
- needs-dco
- name: Add dco-passed label when DCO check passed
conditions:
- or:
- base=master
- base~=2\.\d
- status-success=DCO
actions:
label:
remove:
- needs-dco
add:
- dco-passed