From 6821d6a8ab483f17ceed39e0ecb0dc8c94b7a66c Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:18:52 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index fa4589d72..b5c35a070 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,30 +1,17 @@ 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: Automatic merge on approval and when when GitHub branch protection passes + on main + conditions: [] actions: queue: - method: merge - name: default