Skip to content

Commit

Permalink
mergify: support backport-active-8, backport-active-9, backport-activ…
Browse files Browse the repository at this point in the history
…e-all
  • Loading branch information
v1v committed Feb 5, 2025
1 parent 8ea3a09 commit c770bcb
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,3 +352,82 @@ pull_request_rules:
branches:
- "8.17"
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
- name: backport patches to 8.18 branch
conditions:
- merged
- label=backport-8.18
actions:
backport:
assignees:
- "{{ author }}"
labels:
- "backport"
branches:
- "8.18"
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
- name: backport patches to 9.0 branch
conditions:
- merged
- label=backport-9.0
actions:
backport:
assignees:
- "{{ author }}"
labels:
- "backport"
branches:
- "9.0"
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"

- name: backport patches to all active minor branches for the 8 major.
conditions:
- merged
- label=backport-active-8
actions:
backport:
assignees:
- "{{ author }}"
# NOTE: this list needs to be changed when a new minor branch is created
# or an existing minor branch reached EOL.
branches:
- "8.18"
- "8.17"
- "8.16"
labels:
- "backport"
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
- name: backport patches to all active minor branches for the 9 major.
conditions:
- merged
- label=backport-active-9
actions:
backport:
assignees:
- "{{ author }}"
# NOTE: this list needs to be changed when a new minor branch is created
# or an existing minor branch reached EOL.
branches:
- "9.0"
labels:
- "backport"
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
- name: backport patches to all active branches
conditions:
- merged
- label=backport-active-all
actions:
backport:
assignees:
- "{{ author }}"
# NOTE: this list needs to be changed when a new minor branch is created
# or an existing release branch reached EOL.
branches:
- "9.0"
- "8.18"
- "8.17"
- "8.16"
- "8.x"
- "7.17"
labels:
- "backport"
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"

0 comments on commit c770bcb

Please sign in to comment.