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
This commit is contained in:
Mihir Kandoi
2026-03-03 21:33:02 +05:30
committed by GitHub
parent e3a55d31d3
commit 4402097974

View File

@@ -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