From d0135ad25c4ecf78d5e5550f5a7b797a0f5fc761 Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:31:32 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index ece9363..d530f9e 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,40 +1,20 @@ queue_rules: - name: default - conditions: - # Conditions to get out of the queue (= merged) - - check-success=nventive.UnoApplicationTemplate # Replace this with your CI pipeline name - -pull_request_rules: - - - name: automatic strict merge when CI passes, has 2 reviews, no requests for change and is labeled 'ready-to-merge' unless labelled 'do-not-merge/breaking-change' or 'do-not-merge/work-in-progress' - conditions: - # Only pull-requests sent to the main branch + queue_conditions: - base=main - - # All Azure builds should be green: - - status-success=nventive.UnoApplicationTemplate # Replace this with your CI pipeline name - - # CLA check must pass: - #- "status-success=license/cla" - - # Note that this only matches people with write / admin access to the repo, - # see + - status-success=nventive.UnoApplicationTemplate - "#approved-reviews-by>=2" - "#changes-requested-reviews-by=0" - - # Pull-request must be labeled with: - label=ready-to-merge - - # Do not automatically merge pull-requests that are labelled as do-not-merge - # see - label!=do-not-merge/breaking-change - label!=do-not-merge/work-in-progress + merge_conditions: + # Conditions to get out of the queue (= merged) + - check-success=nventive.UnoApplicationTemplate # Replace this with your CI pipeline name - # Note: mergify cannot break branch protection rules - actions: - queue: - method: merge - name: default + merge_method: merge + +pull_request_rules: - name: automatic merge for allcontributors pull requests conditions: @@ -42,3 +22,7 @@ pull_request_rules: actions: merge: method: merge + - name: refactored queue action rule + conditions: [] + actions: + queue: