add shell-linter config (no-ci)
This commit is contained in:
parent
3d29560211
commit
19fd66af96
2 changed files with 6 additions and 2 deletions
4
.github/workflows/linter-automated.yaml
vendored
4
.github/workflows/linter-automated.yaml
vendored
|
@ -16,4 +16,6 @@ jobs:
|
|||
uses: azohra/shell-linter@v0.6.0
|
||||
with:
|
||||
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
|
4
.github/workflows/linter-manual.yaml
vendored
4
.github/workflows/linter-manual.yaml
vendored
|
@ -21,4 +21,6 @@ jobs:
|
|||
uses: azohra/shell-linter@v0.6.0
|
||||
with:
|
||||
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