aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linter-manual.yaml
blob: c2673bea851006e9cc8b456f19c3f18a2e77a274 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: "(Manual) Shell Script Linter"
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 }}