From 5b53e40a929e53cb90a65700e99419dc90d37a62 Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Sun, 9 Aug 2020 23:28:00 +0200 Subject: [PATCH] filter drafts (#2897) --- .mergify.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index db837ca84c..6ac3c9822a 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -20,6 +20,8 @@ pull_request_rules: - -conflict # was not closed yet - -closed + # filter-out GH draft PRs + - -draft actions: delete_head_branch: {} merge: @@ -36,12 +38,16 @@ pull_request_rules: - name: warn on conflicts conditions: - conflict + # filter-out GH draft PRs + - -draft actions: comment: message: This pull request is now in conflict... :( - name: add core reviewer conditions: + # filter-out GH draft PRs + - -draft # number of review approvals - "#approved-reviews-by<3" actions: