From 4402097974a93e3ed2cbbdc9695d612cdafbf177 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Tue, 3 Mar 2026 21:33:02 +0530 Subject: [PATCH] ci: configure auto-merge for backport PRs Add auto-merge configuration for backport PRs. Any source PR with the `automerge-backports` label will automatically have auto merge enabled on the backports created by @Mergifyio --- .mergify.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index 5e558062048..eefdfdf1a8c 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -92,3 +92,14 @@ pull_request_rules: {{ title }} (#{{ number }}) {{ body }} + +- name: Auto-merge eligible backport PRs + conditions: + - author=mergify[bot] + - base~=^version-(15|16)-hotfix$ + - backport_of.label=automerge-backports + - check-success=* + actions: + merge: + method: squash + commit_message: title+body