From 1c8037b1714cb2ce9d671b52e4eb3be00047677a Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:06:26 +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