From 31443016044f5ed3c68a0f22491161fb07c62b76 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 22:34:49 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index fa4589d72..dc3a53610 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,30 +1,16 @@ queue_rules: - name: default - conditions: - - -draft # not a draft - - base=main - -pull_request_rules: - - name: Automatic merge on approval and when when GitHub branch protection passes on main - conditions: + queue_conditions: - "#approved-reviews-by>=1" - -draft - base=main - actions: - queue: - method: merge - name: default - -pull_request_rules: - - name: Automatic merge for leadership team members when there are no reviewers and the label is "ready" - conditions: - - "#review-requested=0" - - "#changes-requested-reviews-by<1" - - -draft + merge_conditions: + - -draft # not a draft - base=main - - author=@leadership - - label=ready + merge_method: merge + +pull_request_rules: + - name: refactored queue action rule + conditions: [] actions: queue: - method: merge - name: default