ci: trigger shellcheck for .buildkite/hooks (#32329)
This commit is contained in:
parent
755adfd0a5
commit
66233576a1
|
@ -291,7 +291,10 @@ pull_or_push_steps() {
|
||||||
wait_step
|
wait_step
|
||||||
|
|
||||||
# Check for any .sh file changes
|
# Check for any .sh file changes
|
||||||
if affects .sh$; then
|
if affects \
|
||||||
|
.sh$ \
|
||||||
|
^.buildkite/hooks \
|
||||||
|
; then
|
||||||
command_step shellcheck "ci/shellcheck.sh" 5 check
|
command_step shellcheck "ci/shellcheck.sh" 5 check
|
||||||
wait_step
|
wait_step
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue