Skip to content

Commit

Permalink
ci: trigger shellcheck for .buildkite/hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Jun 29, 2023
1 parent c0d8891 commit bd0dd21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/buildkite-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd0dd21

Please sign in to comment.