Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mergify: support for backport-major.minor #40716

Merged
merged 7 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,21 @@ pull_request_rules:

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:
* `backport-v8./d.0` is the label to automatically backport to the `8./d` branch. `/d` is the digit
- name: add backport-v8.x label for main only
* `backport-8./d` is the label to automatically backport to the `8./d` branch. `/d` is the digit

- name: add backport-8.x label for main only
conditions:
- -label~=^backport-v8.x
- -label~=^backport-8.x
- base=main
- -merged
- -closed
actions:
comment:
message: |
`backport-v8.x` has been added to help with the transition to the new branch `8.x`.
`backport-8.x` has been added to help with the transition to the new branch `8.x`.
label:
add:
- backport-v8.x
- backport-8.x
- name: notify the backport has not been merged yet
conditions:
- -merged
Expand All @@ -175,7 +176,7 @@ pull_request_rules:
- name: backport patches to 7.17 branch
conditions:
- merged
- label=backport-v7.17.0
- label~=^(backport-v7.17.0|backport-7.17)$
actions:
backport:
assignees:
Expand Down Expand Up @@ -344,7 +345,7 @@ pull_request_rules:
- name: backport patches to 8.15 branch
conditions:
- merged
- label=backport-v8.15.0
- label~=^(backport-v8.15.0|backport-8.15)$
actions:
backport:
assignees:
Expand All @@ -357,7 +358,7 @@ pull_request_rules:
- name: backport patches to 8.x branch
conditions:
- merged
- label=backport-v8.x
- label~=^(backport-v8.x|backport-8.x)$
actions:
backport:
assignees:
Expand Down
Loading