aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-06-13 23:11:10 +0300
committerGitHub <noreply@github.com>2022-06-13 23:11:27 +0300
commit19fd66af965b22f57fd59a0ba31136146b9542d1 (patch)
tree3bf1f643e68131f1b02f908087bd25e33e48c199 /.github
parent3d29560211c74574d057a877e2d44604a2d63aab (diff)
add shell-linter config (no-ci)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linter-automated.yaml4
-rw-r--r--.github/workflows/linter-manual.yaml4
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/linter-automated.yaml b/.github/workflows/linter-automated.yaml
index 6a1ac75..807be4e 100644
--- a/.github/workflows/linter-automated.yaml
+++ b/.github/workflows/linter-automated.yaml
@@ -16,4 +16,6 @@ jobs:
uses: azohra/shell-linter@v0.6.0
with:
path: "src/**/*.sh"
- severity: "error" # [style, info, warning, error] \ No newline at end of file
+ severity: "error" # [style, info, warning, error]
+ env:
+ SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison \ No newline at end of file
diff --git a/.github/workflows/linter-manual.yaml b/.github/workflows/linter-manual.yaml
index c2673be..d3b3a7f 100644
--- a/.github/workflows/linter-manual.yaml
+++ b/.github/workflows/linter-manual.yaml
@@ -21,4 +21,6 @@ jobs:
uses: azohra/shell-linter@v0.6.0
with:
path: ${{ github.event.inputs.path }}
- severity: ${{ github.event.inputs.severity }} \ No newline at end of file
+ severity: ${{ github.event.inputs.severity }}
+ env:
+ SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison \ No newline at end of file