Skip to content

Commit 7d9a469

Browse files
authored
mergify: avoid label automation always (#3892)
Force merging as tests won't pass before a 9.x release is available.
1 parent b6af3cd commit 7d9a469

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.mergify.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,17 @@ pull_request_rules:
264264
To fixup this pull request, you need to add the backport labels for the needed
265265
branches, such as:
266266
* `backport-./d./d` is the label to automatically backport to the `8./d` branch. `/d` is the digit
267-
- name: add backport-8.x label for main only
267+
- name: add backport-8.x label for main only if no skipped or assigned already
268268
conditions:
269-
- -label~=^backport-8.x
269+
- -label~=^(backport-skip|backport-8.x)$
270270
- base=main
271271
- -merged
272272
- -closed
273273
actions:
274274
comment:
275275
message: |
276276
`backport-8.x` has been added to help with the transition to the new branch `8.x`.
277+
If you don't need it please use `backport-skip` label and remove the `backport-8.x` label.
277278
label:
278279
add:
279280
- backport-8.x

0 commit comments

Comments
 (0)