forked from lagom/lagom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
43 lines (41 loc) · 1.52 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
pull_request_rules:
- name: Merge PRs that are ready
conditions:
- check-success=Check Code Style
- check-success=Check Docs
- check-success=Check Code Compilation
- check-success=Run documentation tests
- check-success=Build and Test (Scala 2.12 & JDK 8)
- check-success=Build and Test (Scala 2.13 & JDK 8)
- check-success=Build and Test (Scala 2.12 & JDK 11)
- check-success=Build and Test (Scala 2.13 & JDK 11)
- check-success=MultiJvm Test (Scala 2.12 & JDK 8)
- check-success=MultiJvm Test (Scala 2.13 & JDK 8)
- check-success=MultiJvm Test (Scala 2.12 & JDK 11)
- check-success=MultiJvm Test (Scala 2.13 & JDK 11)
- check-success=sbt Scripted Test (Scala 2.10 & JDK 8)
- check-success=sbt Scripted Test (Scala 2.12 & JDK 8)
- check-success=sbt Scripted Test (Scala 2.13 & JDK 11)
- check-success=Maven Tests (JDK 8)
- check-success=Maven Tests (JDK 11)
- status-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
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"]