From bd0dd21c7ff7efb6fbb858162a62b078d33735df Mon Sep 17 00:00:00 2001 From: yihau Date: Thu, 29 Jun 2023 12:39:24 +0800 Subject: [PATCH] ci: trigger shellcheck for .buildkite/hooks --- ci/buildkite-pipeline.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/buildkite-pipeline.sh b/ci/buildkite-pipeline.sh index 250f0b25321a02..9c51cee407fe4e 100755 --- a/ci/buildkite-pipeline.sh +++ b/ci/buildkite-pipeline.sh @@ -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