From e6dfec8d0db2749ffb78ac07f92a3c5f31c943e5 Mon Sep 17 00:00:00 2001 From: Olivier Georget Date: Tue, 29 Nov 2022 17:03:51 +0100 Subject: [PATCH] [CI] mergify to merge if no-requested review and no changes are left --- .mergify.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 8e1cbfb94..80c3e828b 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,18 +1,19 @@ queue_rules: - name: default - conditions: + conditions: &ChecksQueue - "#approved-reviews-by>=1" - - label!=not-ready + - "#review-requested=0" + - "#changes-requested-reviews-by=0" + - label=ready-to-merge pull_request_rules: - name: Automatic merge on approval & CI conditions: - - "#approved-reviews-by>=1" - check-success=Ubuntu 18 - check-success=Ubuntu 20 - check-success=Windows - base=main - - label!=not-ready + - and: *ChecksQueue actions: queue: name: default