Skip to content

Commit 837da4e

Browse files
committed
GHA: check for shellcheck SC2086 by default [ci skip]
Also stop ignoring SC2153 for now. Ref: https://www.shellcheck.net/wiki/SC2086 Ref: https://www.shellcheck.net/wiki/SC2153
1 parent 7a87398 commit 837da4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
- name: 'actionlint'
5656
run: |
5757
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
58-
export SHELLCHECK_OPTS='--exclude=1090,1091,2086,2153 --enable=avoid-nullary-conditions,deprecate-which'
58+
export SHELLCHECK_OPTS='--exclude=1090,1091 --enable=avoid-nullary-conditions,deprecate-which'
5959
actionlint --version
6060
actionlint .github/workflows/*.yml
6161
6262
- name: 'shellcheck GHA'
6363
run: |
6464
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
6565
shellcheck --version
66-
export SHELLCHECK_OPTS='--exclude=1090,1091,2086,2153 --enable=avoid-nullary-conditions,deprecate-which'
66+
export SHELLCHECK_OPTS='--exclude=1090,1091 --enable=avoid-nullary-conditions,deprecate-which'
6767
git ls-files '.github/workflows/*.yml' | while read -r f; do
6868
echo "Verifying ${f}..."
6969
{

0 commit comments

Comments
 (0)