forked from lagom/lagom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
58 lines (53 loc) · 1.38 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
pull_request_rules:
- name: Merge PRs that are ready
conditions:
- status-success=Travis CI - Pull Request
- status-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
actions:
merge:
method: merge
- name: backport patches to 1.5.x branch
conditions:
- merged
- label=status:needs-backport-1.5
actions:
backport:
branches:
- 1.5.x
label:
remove: [status:needs-backport-1.5]
- name: backport patches to 1.4.x branch
conditions:
- merged
- label=status:needs-backport-1.4
actions:
backport:
branches:
- 1.4.x
label:
remove: [status:needs-backport-1.4]
- name: Merge ScalaSteward's PRs that are ready
conditions:
- author=scala-steward
- status-success=Travis CI - Pull Request
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
actions:
merge:
method: merge
- name: Delete the PR branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: auto add wip
conditions:
# match a few flavours of wip
- title~=^(\[wip\]( |:) |\[WIP\]( |:) |wip( |:) |WIP( |:)).*
actions:
label:
add: ["status:block-merge"]