Compare commits
4 Commits
6e260f85fd
...
3d28254ae1
Author | SHA1 | Date | |
---|---|---|---|
3d28254ae1 | |||
1666c25d13 | |||
a3ebf712f9 | |||
0ea3f3a118 |
8
.github/workflows/shellcheck-check.yaml
vendored
8
.github/workflows/shellcheck-check.yaml
vendored
@ -25,4 +25,10 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- name: ShellCheck check
|
||||
# https://www.shellcheck.net/wiki/Recursiveness
|
||||
run: find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
|
||||
run: |
|
||||
if find . -type f -name "*.sh" -print0 | grep -qz .; then
|
||||
find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
|
||||
exit 0
|
||||
else
|
||||
echo "No shell scripts found. Skipping ShellCheck."
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user