From 5a7a48f17e01e111e920886e2c5b251ce8441895 Mon Sep 17 00:00:00 2001 From: Nano Date: Thu, 22 Oct 2026 14:35:04 +0800 Subject: [PATCH] Drop redundant queue conditions and require no failing check Co-authored-by: Lin Yinfeng --- .mergify.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index d0dc857..2d5c91e 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -3,17 +3,15 @@ # checks below are green. queue_rules: - name: default - queue_conditions: - - base = main - - -draft # Re-checked at the front of the queue, so a green run from before a rebase - # does not count. + # does not count. Any failing check blocks the merge; `check-success` is what + # keeps an empty check list from counting as green. merge_conditions: + - "#check-failure = 0" - check-success = check # Linear history merge_method: rebase update_method: rebase - batch_size: 1 # Already the default for `queue`: only maintainers can add to the queue. commands_restrictions: