ci: trigger shellcheck for .buildkite/hooks (#32329)

This commit is contained in:
Yihau Chen 2023-06-30 01:34:36 +08:00 committed by GitHub
parent 755adfd0a5
commit 66233576a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -291,7 +291,10 @@ pull_or_push_steps() {
wait_step
# Check for any .sh file changes
if affects .sh$; then
if affects \
.sh$ \
^.buildkite/hooks \
; then
command_step shellcheck "ci/shellcheck.sh" 5 check
wait_step
fi