add shell-linter config (no-ci)
This commit is contained in:
parent
3d29560211
commit
19fd66af96
2 changed files with 6 additions and 2 deletions
2
.github/workflows/linter-automated.yaml
vendored
2
.github/workflows/linter-automated.yaml
vendored
|
@ -17,3 +17,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "src/**/*.sh"
|
path: "src/**/*.sh"
|
||||||
severity: "error" # [style, info, warning, error]
|
severity: "error" # [style, info, warning, error]
|
||||||
|
env:
|
||||||
|
SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison
|
2
.github/workflows/linter-manual.yaml
vendored
2
.github/workflows/linter-manual.yaml
vendored
|
@ -22,3 +22,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: ${{ github.event.inputs.path }}
|
path: ${{ github.event.inputs.path }}
|
||||||
severity: ${{ github.event.inputs.severity }}
|
severity: ${{ github.event.inputs.severity }}
|
||||||
|
env:
|
||||||
|
SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison
|
Loading…
Reference in a new issue