From 9c71bbd519e9b8b2d93d6622d752b91fe3b146be Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 09:19:44 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 05da0edb..b75459cd 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,13 +1,14 @@ -pull_request_rules: - - name: Automatic merge on approval - conditions: +queue_rules: + - name: default + queue_conditions: - "#approved-reviews-by>=2" - check-success=build (stable) - check-success=CodeFactor - check-success=Rust project - actions: - queue: - method: squash + merge_conditions: [] + merge_method: squash + +pull_request_rules: - name: automatic update of pull requests where more 5 commits behind conditions: - "#commits-behind>5" @@ -17,4 +18,8 @@ pull_request_rules: conditions: - merged actions: - delete_head_branch: {} \ No newline at end of file + delete_head_branch: {} + - name: Automatic merge on approval + conditions: [] + actions: + queue: