diff --git a/.mergify.yml b/.mergify.yml index 487ca138..4cdc5533 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,21 +1,17 @@ queue_rules: - name: default - conditions: - - "#approved-reviews-by>1" - -pull_request_rules: - - name: Automatic merge to main with label automerge and branch protection passing - conditions: + queue_conditions: - "#approved-reviews-by>1" - base=main - label=automerge - actions: - queue: - name: default - method: squash - commit_message_template: | - {{ title }} (#{{ number }}) - {{ body }} + merge_conditions: + - "#approved-reviews-by>1" + commit_message_template: | + {{ title }} (#{{ number }}) + {{ body }} + merge_method: squash + +pull_request_rules: - name: backport patches to v2.0.x branch conditions: - base=main @@ -40,3 +36,7 @@ pull_request_rules: backport: branches: - release/v4.0.x + - name: Automatic merge to main with label automerge and branch protection passing + conditions: [] + actions: + queue: