Skip to content

Commit 85a5dd3

Browse files
octonatomarcospereira
authored andcommitted
Mergify it! (#269)
* Mergify it! * auto-merge for scala-steward * revert scala-steward auto-merge
1 parent 071ea2a commit 85a5dd3

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.mergify.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
pull_request_rules:
3+
- name: Merge PRs that are ready
4+
conditions:
5+
- status-success=Travis CI - Pull Request
6+
- status-success=typesafe-cla-validator
7+
- "#approved-reviews-by>=1"
8+
- "#review-requested=0"
9+
- "#changes-requested-reviews-by=0"
10+
- label!=status:block-merge
11+
actions:
12+
merge:
13+
method: squash
14+
strict: smart
15+
16+
- name: Delete the PR branch after merge
17+
conditions:
18+
- merged
19+
actions:
20+
delete_head_branch: {}
21+
22+
- name: auto add wip
23+
conditions:
24+
# match a few flavours of wip
25+
- title~=^(\[wip\]( |:) |\[WIP\]( |:) |wip( |:) |WIP( |:)).*
26+
actions:
27+
label:
28+
add: ["status:block-merge"]

0 commit comments

Comments
 (0)