Skip to content

Commit 69b8969

Browse files
authored
mergify: add backport-v8.x always for main (#5496)
1 parent 1556500 commit 69b8969

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.mergify.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,20 @@ pull_request_rules:
122122
This pull request does not have a backport label. Could you fix it @{{author}}? 🙏
123123
To fixup this pull request, you need to add the backport labels for the needed
124124
branches, such as:
125-
* `backport-v./d./d./d` is the label to automatically backport to the `8./d` branch. `/d` is the digit
126-
127-
128-
`backport-v8.x` has been added to help with the transition to the new branch 8.x.
129-
label:
130-
add:
131-
- backport-v8.x
132-
- name: remove-backport label
125+
* `backport-v./d./d.0` is the label to automatically backport to the `8./d` branch. `/d` is the digit
126+
- name: add backport-v8.x label for main only
133127
conditions:
134-
- label~=backport-v
128+
- -label~=^backport-v8.x
129+
- base=main
135130
- -merged
136131
- -closed
137132
actions:
133+
comment:
134+
message: |
135+
`backport-v8.x` has been added to help with the transition to the new branch `8.x`.
138136
label:
139-
remove:
140-
- backport-skip
137+
add:
138+
- backport-v8.x
141139
- name: backport patches to 7.17 branch
142140
conditions:
143141
- merged

0 commit comments

Comments
 (0)