Look for bash shebang from start of the line (#4918)

Signed-off-by: Igor <igor@armbian.com>
This commit is contained in:
Igor Pečovnik 2023-03-08 09:34:55 +01:00 committed by GitHub
parent c4d27ab073
commit e04d91ee4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ jobs:
ret=0
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
if grep -qE "#\!/" $file; then
if grep -qE "^#\!/" $file; then
shellcheck --severity=error $file || ret=$?