diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..fca34bc --- /dev/null +++ b/.mergify.yml @@ -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: {}