Skip to content

Commit 5b98570

Browse files
authored
mergify: support backport label for 9.0 branch (#4816)
1 parent 9b029cd commit 5b98570

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.mergify.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ pull_request_rules:
2626
To fixup this pull request, you need to add the backport labels for the needed
2727
branches, such as:
2828
* `backport-/d./d` is the label to automatically backport to the `/d./d` branch. `/d` is the digit
29+
* `backport-active-all` is the label that automatically backports to all active branches.
30+
* `backport-active-8` is the label that automatically backports to all active minor branches for the 8 major.
31+
* `backport-active-9` is the label that automatically backports to all active minor branches for the 9 major.
2932
**NOTE**: `backport-skip` has been added to this pull request.
3033
label:
3134
add:
@@ -365,3 +368,16 @@ pull_request_rules:
365368
branches:
366369
- "8.18"
367370
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
371+
- name: backport patches to 9.0 branch
372+
conditions:
373+
- merged
374+
- label=backport-9.0
375+
actions:
376+
backport:
377+
assignees:
378+
- "{{ author }}"
379+
labels:
380+
- "backport"
381+
branches:
382+
- "9.0"
383+
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"

0 commit comments

Comments
 (0)