We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea81912 commit cfd94f2Copy full SHA for cfd94f2
.github/workflows/lint.yml
@@ -23,4 +23,9 @@ jobs:
23
shell: bash {0}
24
run: |
25
26
- for file in $(find . -type f -executable ! -path '*/.git*/*' -exec grep -Iq . {} \; -print); do shellcheck -x $file; done
+ for file in $(find . -type f -executable ! -path '*/.git*/*' -exec grep -Iq . {} \; -print); do
27
+ if grep -qE "^#\!/.*bash" $file; then
28
+ shellcheck --severity=error $file || ret=$?
29
+ fi
30
+ done
31
+ exit $ret
0 commit comments