From 077547bdc83e681fbffb2a728ed5ba6367aea738 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 16 Sep 2019 20:48:24 +0200 Subject: [PATCH] [ci] Add mergify configuration --- .mergify.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .mergify.yml 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: {}