[ci] Add mergify configuration

This commit is contained in:
Johan Andersson 2019-09-16 20:48:24 +02:00
parent a6eaf70307
commit 077547bdc8

17
.mergify.yml Normal file
View file

@ -0,0 +1,17 @@
pull_request_rules:
- name: automatic merge when CI passes and 1 reviews
conditions:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- "#commented-reviews-by=0"
- status-success=Travis CI - Pull Request
- base=master
- label!=work-in-progress
actions:
merge:
method: squash
- name: delete head branch after merge
conditions: []
actions:
delete_head_branch: {}