From 9d0545a3d4af2efce0cb98cf12c82be905098c64 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:19:43 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 3995d681f..005d11a5e 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,24 +1,25 @@ queue_rules: -- name: default - conditions: - - check-success=hydra + - name: default + queue_conditions: + - label=merge me + - '#approved-reviews-by>=1' + - '#changes-requested-reviews-by=0' + merge_conditions: + - check-success=hydra # Mergify explicitly recommends listing each status check separately: # https://docs.mergify.io/conditions/#validating-all-status-checks - - check-success=macOS-latest - stack.yaml - - check-success=ubuntu-latest - stack.yaml - - check-success=windows-latest - stack.yaml + - check-success=macOS-latest - stack.yaml + - check-success=ubuntu-latest - stack.yaml + - check-success=windows-latest - stack.yaml + merge_method: squash + pull_request_rules: -- actions: - queue: - name: default - method: squash - name: Automatically merge pull requests - conditions: - - label=merge me - - ! '#approved-reviews-by>=1' - - ! '#changes-requested-reviews-by=0' -- actions: - delete_head_branch: {} - name: Delete head branch after merge - conditions: - - merged + - actions: + delete_head_branch: {} + name: Delete head branch after merge + conditions: + - merged + - name: Automatically merge pull requests + conditions: [] + actions: + queue: