mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
ci: prevent incorrect pattern matching for skipping ci
command
Mergify matches `body-raw` as regular expression, but that makes it difficult (if not impossible) to match the `[` in a string. Fixes: #4751 Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
d06497cf32
commit
2fd92573f4
@ -469,7 +469,8 @@ pull_request_rules:
|
||||
# the PR as Draft so that CI jobs do not automatically run anymore.
|
||||
- name: detect [skip ci] in the PR description
|
||||
conditions:
|
||||
- "body-raw~=[skip ci]"
|
||||
# this should be \[skip\W+ci\], but Mergify does not accept that
|
||||
- "body-raw~=skip ci"
|
||||
actions:
|
||||
edit:
|
||||
draft: true
|
||||
|
Loading…
Reference in New Issue
Block a user