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