From 02025fb5e9d65e88de69b1ed2002978044cec760 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 12 Oct 2021 09:59:05 +0200 Subject: [PATCH] Add mergify configuration --- .mergify.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 00000000..68bf1ab1 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,30 @@ +pull_request_rules: + - name: automatic merge + conditions: + - "#approved-reviews-by>=1" + - "#changes-requested-reviews-by=0" + # https://doc.mergify.io/examples.html#require-all-requested-reviews-to-be-approved + - "#review-requested=0" + - -label~=^acceptance-tests-needed|not-ready + - base=master + - status-success=integration + - status-success=unit + actions: + merge: + method: merge + - name: automatic merge on special label + conditions: + - -label~=^acceptance-tests-needed|not-ready + - "label=merge-fast" + - base=master + - status-success=integration + - status-success=unit + actions: + merge: + method: merge + - name: ask to resolve conflict + conditions: + - conflict + actions: + comment: + message: This pull request is now in conflicts. Could you fix it? 🙏