diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8712c30..17acf34 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -14,7 +14,7 @@ jobs: - name: Install ShellCheck run: sudo apt-get install shellcheck - - name: Find shell scripts with #!/bin/sh and run ShellCheck + - name: Find shell scripts with \#!/bin/sh and run ShellCheck run: | files=$(find . -type f ! -path '*/\.*' -exec grep -lE '^#!(/usr)?/bin/sh' {} +) if [ -n "$files" ]; then