From 2c9ffe334d9bf24e09d566370ec6a0353440420e Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 08:34:17 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .github/mergify.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 10834a93..81c26222 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=DCO - - 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" @@ -16,11 +9,18 @@ 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=DCO + - check-success=build + commit_message_template: | + {{ title }} (#{{ number }}) + + {{ body }} + merge_method: merge + +pull_request_rules: + - name: Automatic merge on approval + conditions: [] actions: queue: - method: merge - name: default - commit_message_template: | - {{ title }} (#{{ number }}) - - {{ body }}