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