From 19fd66af965b22f57fd59a0ba31136146b9542d1 Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Mon, 13 Jun 2022 20:11:10 +0000 Subject: add shell-linter config (no-ci) --- .github/workflows/linter-automated.yaml | 4 +++- .github/workflows/linter-manual.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to '.github') 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 -- cgit v1.2.3