-
Notifications
You must be signed in to change notification settings - Fork 24
/
.mergify.yml
45 lines (45 loc) · 1.13 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
pull_request_rules:
- name: automatic merge
conditions:
- base=master
- status-success=tests
- status-success=ci/dockercloud
- "label!=work in progress"
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
actions:
merge:
method: merge
strict: smart
delete_head_branch: {}
- name: automatic merge
conditions:
- base=master
- status-success=tests
- status-success=ci/dockercloud
- "label!=work in progress"
- author=alecmocatta # https://github.com/Mergifyio/mergify-engine/issues/451
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
actions:
merge:
method: merge
strict: smart
delete_head_branch: {}
- name: dismiss reviews
conditions: []
actions:
dismiss_reviews: {}
- name: auto add wip label
conditions:
- "title~=^WIP: .*"
actions:
label:
add: ["work in progress"]
- name: auto remove wip label
conditions:
- "-title~=^WIP: .*"
actions:
label:
remove: ["work in progress"]