aboutsummaryrefslogblamecommitdiff
path: root/.github/workflows/linter-automated.yaml
blob: 98921bf68df7a6e7e7f288cfe2a4bc0ba64849f0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                









                          
                               




                                      


                                                                        
name: "CI - Shell Script Linter"
on: 
  push:
    branches:
      - main
  pull_request:

jobs:
  shellchecker:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3

    - name: Shell Linter
      uses: azohra/shell-linter@v0.6.0
      with:
        path: "src/**/*.sh"
        severity: "error" # [style, info, warning, error]
      env:
        SHELLCHECK_OPTS: -e SC2072 # Acceptable use of decimal comparison