From 7b691f0af554cda1401e61bd6bfa9ba589e0fdb8 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:32:18 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 3001ee3fd0..7faf0993c5 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,23 +1,20 @@ queue_rules: - name: automerge - conditions: [] # No additional rules, because branch-protection does them. - -pull_request_rules: - - name: automatic merge on CI success and review - conditions: + queue_conditions: - base=main - "#approved-reviews-by>=1" - label=automerge - label!=on hold - # GitHub branch-protection rules are automatically applied by mergify, so - # the queue can't actually merge things unless _all_ statuses are passed. - # This section is just a sanity check before the PR can enter the main - # queue. - or: - - check-success=tests_linux (3.10, ubuntu-latest) - - check-neutral=tests_linux (3.10, ubuntu-latest) - - check-skipped=tests_linux (3.10, ubuntu-latest) + - check-success=tests_linux (3.10, ubuntu-latest) + - check-neutral=tests_linux (3.10, ubuntu-latest) + - check-skipped=tests_linux (3.10, ubuntu-latest) + merge_conditions: [] # No additional rules, because branch-protection does them. + + merge_method: squash + +pull_request_rules: + - name: automatic merge on CI success and review + conditions: [] actions: queue: - name: automerge - method: squash