Skip to content

Commit 976b647

Browse files
authored
mergify: avoid label automation always (#5521)
Force merging as tests won't pass before a 9.x release is available.
1 parent 1a449cd commit 976b647

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
@@ -123,16 +123,17 @@ pull_request_rules:
123123
To fixup this pull request, you need to add the backport labels for the needed
124124
branches, such as:
125125
* `backport-./d./d` is the label to automatically backport to the `8./d` branch. `/d` is the digit
126-
- name: add backport-8.x label for main only
126+
- name: add backport-8.x label for main only if no skipped or assigned already
127127
conditions:
128-
- -label~=^backport-8.x
128+
- -label~=^(backport-skip|backport-8.x)$
129129
- base=main
130130
- -merged
131131
- -closed
132132
actions:
133133
comment:
134134
message: |
135135
`backport-v8.x` has been added to help with the transition to the new branch `8.x`.
136+
If you don't need it please use `backport-skip` label and remove the `backport-8.x` label.
136137
label:
137138
add:
138139
- backport-8.x

0 commit comments

Comments
 (0)