-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
43 lines (43 loc) · 921 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: warn on conflicts
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflict :(
label:
add:
- conflict
- name: remove conflict label if not needed
conditions:
- -conflict
actions:
label:
remove:
- conflict
- name: add label needs-test-cases
conditions:
- files~=^src/
- -files~=^t/
actions:
label:
add:
- needs-test-cases
- name: remove label needs-test-cases
conditions:
- label=needs-test-cases
- files~=^src/
- files~=^t/
actions:
label:
remove:
- needs-test-cases
- name: add label could-be-merged
conditions:
- "#approved-reviews-by>=2"
- status-success=Travis CI - Pull Request
actions:
label:
add:
- could-be-merged