From 520c5539ecba20dc4937bf3f815bfdf6755f7b29 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 02:13:08 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .github/mergify.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index af151c5ab..8d1b42149 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,13 +1,6 @@ queue_rules: - name: default - conditions: - # Conditions to get out of the queue (= merged) - - check-success=lint-test - - check-success=build - -pull_request_rules: - - name: Automatic merge on approval - conditions: + queue_conditions: - base=main - "#approved-reviews-by>=1" - "#changes-requested-reviews-by=0" @@ -15,10 +8,16 @@ pull_request_rules: - check-success='build' - label!=do-not-merge - label=ready-to-merge + merge_conditions: + # Conditions to get out of the queue (= merged) + - check-success=lint-test + - check-success=build + commit_message_template: | + {{ title }} (#{{ number }}) + merge_method: merge + +pull_request_rules: + - name: Automatic merge on approval + conditions: [] actions: queue: - method: merge - name: default - commit_message_template: | - {{ title }} (#{{ number }}) -