From d37d477d1f360c4d979fc96df0f5f9c806c2765e Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:31:52 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index b09b64a..6a7e82e 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,9 +1,16 @@ queue_rules: - name: default + queue_conditions: + - base = main + - "#approved-reviews-by>=1" + - -label~=(do-not-merge) + - status-success=build + merge_conditions: [] commit_message_template: |- {{ title }} (#{{ number }}) {{ body }} merge_method: squash + pull_request_rules: - name: Put PRs in queue (squash) conditions: @@ -13,8 +20,6 @@ pull_request_rules: - status-success=build actions: delete_head_branch: - queue: - merge_method: squash - name: Label core contributions actions: label: @@ -31,5 +36,9 @@ pull_request_rules: conditions: - label=contribution/core - label!=auto-merge + - name: refactored queue action rule + conditions: [] + actions: + queue: merge_queue: max_parallel_checks: 1