Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github action to shellcheck master on push and PRs #3550

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
regenerate action: was broken, and insufficient grepping for related …
…files
  • Loading branch information
yarikoptic authored and effigies committed Mar 20, 2024
commit c319835f5157f31bb4ccf4e662f79d62370e86ba
7 changes: 3 additions & 4 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ jobs:
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y shellcheck

- name: shellcheck
run: |
git grep -l '^#!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)' | xargs shellcheck
- name: shellcheck
run: |
git grep -l '^#\( *shellcheck \|!\(/bin/\|/usr/bin/env \)\(sh\|bash\|dash\|ksh\)\)' | xargs shellcheck
Loading
Oops, something went wrong.