Skip to content

Commit 06c73e0

Browse files
committed
regenerate action: was broken, and insufficient grepping for related files
1 parent 00145be commit 06c73e0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/shellcheck.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
sudo apt update && sudo apt install -y shellcheck
21-
22-
- name: shellcheck
23-
run: |
24-
git grep -l '^#!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)' | xargs shellcheck
21+
- name: shellcheck
22+
run: |
23+
git grep -l '^#\( *shellcheck \|!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)\)' | xargs shellcheck

0 commit comments

Comments
 (0)