From 66233576a10311ea610b2f9a187cb6386ce912dd Mon Sep 17 00:00:00 2001 From: Yihau Chen Date: Fri, 30 Jun 2023 01:34:36 +0800 Subject: [PATCH] ci: trigger shellcheck for .buildkite/hooks (#32329) --- 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 250f0b253..9c51cee40 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