From cf5fe11cf7e64bb277914ad9fb49bbb07060101c Mon Sep 17 00:00:00 2001 From: Mergify <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:36:24 +0000 Subject: [PATCH] ci(mergify): upgrade configuration to current format --- .mergify.yml | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index d202dd0ae..847428b7f 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,29 +1,37 @@ queue_rules: + - name: duplicated main from merge to master + queue_conditions: + - label=automerge:merge + merge_conditions: + - base=main + # Require integration tests before merging only + - check-success=Cloudflare Pages + merge_method: merge + - name: duplicated main from rebase updates then merge to master + queue_conditions: + - label=automerge:rebase + merge_conditions: + - base=main + # Require integration tests before merging only + - check-success=Cloudflare Pages + update_method: rebase + merge_method: merge + - name: duplicated main from squash to master + queue_conditions: + - label=automerge:squash + merge_conditions: + - base=main + # Require integration tests before merging only + - check-success=Cloudflare Pages + merge_method: squash - name: main conditions: - base=main # Require integration tests before merging only - check-success=Cloudflare Pages + pull_request_rules: - - name: merge to master - conditions: - - label=automerge:merge - actions: - queue: - name: main - method: merge - - name: rebase updates then merge to master - conditions: - - label=automerge:rebase - actions: - queue: - name: main - method: merge - update_method: rebase - - name: squash to master - conditions: - - label=automerge:squash + - name: merge to master + rebase updates then merge to master + squash to master + conditions: [] actions: queue: - name: main - method: squash