From f9da08053fc860e71e3ed770b7e1d035f0fa5bb7 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:11:30 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 46 +++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 37d006e0..b1c11f57 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,13 +1,30 @@ queue_rules: - - name: default - conditions: - # Conditions to get out of the queue (= merged) + - name: duplicated default from Automatically approve and merge Dependabot PRs + queue_conditions: + - base~=master|integ-tests + - "#approved-reviews-by>=1" + - approved-reviews-by=@aws-actions/aws-ecs-devx + - -approved-reviews-by~=author - status-success=Run Unit Tests - status-success=Semantic Pull Request - -pull_request_rules: - - name: Automatically merge on CI success and review approval - conditions: + - label!=work-in-progress + - -title~=(WIP|wip) + - -merged + - -closed + - author!=dependabot[bot] + - base=master + - author=dependabot[bot] + - status-success=Run Unit Tests + - status-success=Semantic Pull Request + - -title~=(WIP|wip) + - -label~=(blocked|do-not-merge) + - -merged + - -closed + merge_conditions: [] + merge_method: squash + method: squash + - name: default + queue_conditions: - base~=master|integ-tests - "#approved-reviews-by>=1" - approved-reviews-by=@aws-actions/aws-ecs-devx @@ -19,11 +36,13 @@ pull_request_rules: - -merged - -closed - author!=dependabot[bot] - actions: - queue: - method: squash - name: default + merge_conditions: + # Conditions to get out of the queue (= merged) + - status-success=Run Unit Tests + - status-success=Semantic Pull Request + merge_method: squash +pull_request_rules: - name: Automatically approve and merge Dependabot PRs conditions: - base=master @@ -37,6 +56,7 @@ pull_request_rules: actions: review: type: APPROVE + - name: refactored queue action rule + conditions: [] + actions: queue: - method: squash - name: default