diff --git a/.mergify.yml b/.mergify.yml index d5b80f2a0d..d23f89f7b6 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -13,6 +13,19 @@ pull_request_rules: git merge upstream/{{base}} git push upstream {{head}} ``` + - name: backport patches to main branch + conditions: + - merged + - label=backport-main + actions: + backport: + assignees: + - "{{ author }}" + labels: + - "backport" + branches: + - "main" + title: "[{{ destination_branch }}] {{ title }} (backport #{{ number }})" - name: backport patches to 8.17 branch conditions: - merged