[CI/Build] Ignore .gitignored files for shellcheck (#10162)

Signed-off-by: luka <luka@neuralmagic.com>
This commit is contained in:
Luka Govedič 2024-11-08 14:53:36 -05:00 committed by GitHub
parent b5815c8413
commit 87713c6053
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,4 +18,4 @@ if ! [ -x "$(command -v shellcheck)" ]; then
fi
# TODO - fix warnings in .buildkite/run-amd-test.sh
find . -name "*.sh" -not -path "./.deps/*" -not -path "./.buildkite/run-amd-test.sh" -exec shellcheck {} +
find . -name "*.sh" -not -path "./.buildkite/run-amd-test.sh" -exec sh -c 'git check-ignore -q $1 || shellcheck $1' _ {} \;