Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 26f7f0a

Browse files
committedJan 16, 2025·
github-cicd: shellcheck: use the latest version for now
If we keep tripping up on SC2145 (I can see in my repo that there are thousands of affected scripts pulled in from other repos that I shouldn't attempt to fix), then we might consider disabling or limiting that entire check per ignore_paths: >- ignoreme ignoremetoo **/ignoreme/test.sh ignore_names: ignorable.sh or env: SHELLCHECK_OPTS: -e SC2145 # ... SC2059 -e SC2034 -e SC1090 or with: scandir: './scripts' Might also want: with: severity: error See https://github.com/marketplace/actions/shellcheck for usage
1 parent d7959b1 commit 26f7f0a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎.github/workflows/shellcheck.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
git-ref:
1010
description: Git Ref (Optional)
1111
required: false
12-
12+
1313
permissions:
1414
contents: read
1515

@@ -18,8 +18,9 @@ jobs:
1818
name: ShellCheck
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Run ShellCheck
23-
uses: ludeeus/action-shellcheck@2.0.0
23+
uses: ludeeus/action-shellcheck@master
2424
with:
2525
format: gcc
26+
# format: diff

0 commit comments

Comments
 (0)
Please sign in to comment.