From 0cab1fa86a67fed3f7e60229fd49f2d719e07c05 Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Tue, 23 Jan 2024 16:25:22 +0530 Subject: [PATCH] Avoid mergify dequeue (#1245) * Avoid mergify deque * Set review needed only shortly after Mergify commit --- .mergify.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index cc0804e24..07c49ea76 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -36,7 +36,8 @@ pull_request_rules: - s:review-needed - name: Set in-progress label after changes are pushed conditions: - - commits[-1].date_committer>=0 days 00:01 ago + - commits[-1].author!=mergify[bot] + - commits[-1].date_committer>=0 days 00:01 ago actions: label: add: @@ -51,12 +52,19 @@ pull_request_rules: - name: Trigger CI after Mergify merged the base branch (fix merge queue) conditions: - commits[-1].author=mergify[bot] - - label=s:in-progress + - commits[-1].date_committer>=0 days 00:01 ago - queue-position=0 actions: label: - remove: - - s:in-progress add: - - s:accepted - + - s:review-needed + - name: Remove CI trigger label + conditions: + - commits[-1].author=mergify[bot] + - label=s:review-needed + - queue-position=0 + actions: + label: + remove: + - s:review-needed +