From 4259e8e278f4ae6926a534e893297786589a6950 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 13:07:27 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .github/mergify.yml | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index f8c35cc42..0f7be6db7 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,27 +1,26 @@ queue_rules: - - name: default - conditions: - - check-success=Build - -pull_request_rules: - - name: automatic merge for master when reviewed and CI passes - conditions: + - name: duplicated default from automatic merge for master when reviewed and CI + passes + queue_conditions: - "#approved-reviews-by>=1" - base=master - label=ready-to-merge - actions: - queue: - name: default - method: squash - - name: automatic merge for updates when CI passes - conditions: + merge_conditions: + - check-success=Build + merge_method: squash + - name: duplicated default from automatic merge for updates when CI passes + queue_conditions: - "#approved-reviews-by>=1" - base=master - label=dependencies - actions: - queue: - name: default - method: squash + merge_conditions: + - check-success=Build + merge_method: squash + - name: default + conditions: + - check-success=Build + +pull_request_rules: - name: delete head branch after merge conditions: - merged @@ -31,5 +30,10 @@ pull_request_rules: conditions: - conflict actions: - comment: - message: This pull request has conflict. Could you fix it @{{author}}? + comment: + message: This pull request has conflict. Could you fix it @{{author}}? + - name: automatic merge for master when reviewed and CI passes + automatic merge + for updates when CI passes + conditions: [] + actions: + queue: