Compare commits
2 Commits
3d28254ae1
...
6e260f85fd
Author | SHA1 | Date | |
---|---|---|---|
6e260f85fd | |||
19be0884d0 |
8
.github/workflows/shellcheck-check.yaml
vendored
8
.github/workflows/shellcheck-check.yaml
vendored
@ -25,10 +25,4 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: ShellCheck check
|
- name: ShellCheck check
|
||||||
# https://www.shellcheck.net/wiki/Recursiveness
|
# https://www.shellcheck.net/wiki/Recursiveness
|
||||||
run: |
|
run: find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
|
||||||
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