Skip to content

Commit

Permalink
Mergify: merge-when-green
Browse files Browse the repository at this point in the history
  • Loading branch information
octonato committed Jun 29, 2020
1 parent 39eaf22 commit f29aadc
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,13 @@ pull_request_rules:
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
actions:
merge:
method: merge

- name: Merge ScalaSteward's PRs that are ready
conditions:
- author=scala-steward
- status-success=Travis CI - Pull Request
- "#review-requested=0"
- "#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"]

0 comments on commit f29aadc

Please sign in to comment.