From 346600bbd4931e6031d0989e86c6bc4b5b8cebdb Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:22:11 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 68 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 54 insertions(+), 14 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 876d88127..d6c7a56d4 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,7 +1,54 @@ queue_rules: + - name: duplicated default from Automatically merge release branch changes on CI + success and release manager review + queue_conditions: + - base=master + - status-success=build + - "label=ready to merge" + - "approved-reviews-by=@oss-approvers" + - base~=^release- + - status-success=build + - "label=ready to merge" + - "approved-reviews-by=@release-managers" + merge_conditions: [] + merge_method: squash + method: squash + - name: duplicated default from Automatically merge PRs from maintainers on CI success + and review + queue_conditions: + - base=master + - status-success=build + - "label=ready to merge" + - "approved-reviews-by=@oss-approvers" + - base=master + - status-success=build + - "label=ready to merge" + - "author=@oss-approvers" + merge_conditions: [] + merge_method: squash + method: squash + - name: duplicated default from Automatically merge autobump PRs on CI success + queue_conditions: + - base=master + - status-success=build + - "label=ready to merge" + - "approved-reviews-by=@oss-approvers" + - base~=^(master|release-) + - status-success=build + - "label~=autobump-*" + - "author:spinnakerbot" + merge_conditions: [] + merge_method: squash + method: squash - name: default - conditions: + queue_conditions: + - base=master - status-success=build + - "label=ready to merge" + - "approved-reviews-by=@oss-approvers" + merge_conditions: + - status-success=build + merge_method: squash pull_request_rules: - name: Automatically merge on CI success and review @@ -11,21 +58,16 @@ pull_request_rules: - "label=ready to merge" - "approved-reviews-by=@oss-approvers" actions: - queue: - method: squash - name: default label: add: ["auto merged"] - - name: Automatically merge release branch changes on CI success and release manager review + - name: Automatically merge release branch changes on CI success and release manager + review conditions: - base~=^release- - status-success=build - "label=ready to merge" - "approved-reviews-by=@release-managers" actions: - queue: - method: squash - name: default label: add: ["auto merged"] - name: Automatically merge PRs from maintainers on CI success and review @@ -35,9 +77,6 @@ pull_request_rules: - "label=ready to merge" - "author=@oss-approvers" actions: - queue: - method: squash - name: default label: add: ["auto merged"] - name: Automatically merge autobump PRs on CI success @@ -47,9 +86,6 @@ pull_request_rules: - "label~=autobump-*" - "author:spinnakerbot" actions: - queue: - method: squash - name: default label: add: ["auto merged"] - name: Request reviews for autobump PRs on CI failure @@ -61,3 +97,7 @@ pull_request_rules: actions: request_reviews: teams: ["oss-approvers"] + - name: refactored queue action rule + conditions: [] + actions: + queue: