diff options
Diffstat (limited to '.github/workflows/linter-manual.yaml')
-rw-r--r-- | .github/workflows/linter-manual.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/linter-manual.yaml b/.github/workflows/linter-manual.yaml new file mode 100644 index 0000000..79d88d0 --- /dev/null +++ b/.github/workflows/linter-manual.yaml @@ -0,0 +1,24 @@ +name: "Shell script linter (manual)" +on: + workflow_dispatch: + inputs: + path: + description: "Path to the shell scripts to lint" + required: true + default: "src/**/*.sh" + severity: + description: "Minimum Severity (style, info, warning, error)" + required: true + default: "style" + +jobs: + shellchecker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Shell Linter + uses: azohra/shell-linter@v0.6.0 + with: + path: ${{ github.event.inputs.path }} + severity: ${{ github.event.inputs.severity }}
\ No newline at end of file |