From bb0eab689d6dd82a5289fc9e60eefbbe5e428ea8 Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Tue, 23 Jan 2024 05:06:26 +0530 Subject: [PATCH] Set in-progress when needed and rerun CI in merge queue (#1244) * Set in-progress when need and rerun CI in merge queue --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- .mergify.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.mergify.yml b/.mergify.yml index 795fe6716..cc0804e24 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -34,4 +34,29 @@ pull_request_rules: - s:accepted - s:in-progress - s:review-needed - + - name: Set in-progress label after changes are pushed + conditions: + - commits[-1].date_committer>=0 days 00:01 ago + actions: + label: + add: + - s:in-progress + remove: + - s:accepted + - s:available + - s:blocked + - s:on-hold + - s:review-needed + - s:revision-needed + - name: Trigger CI after Mergify merged the base branch (fix merge queue) + conditions: + - commits[-1].author=mergify[bot] + - label=s:in-progress + - queue-position=0 + actions: + label: + remove: + - s:in-progress + add: + - s:accepted +