features/.github/workflows/linter-automated.yaml
Josh Spicer 97c1abf391
Skip CI on Documentation PRs (#103)
* no-ci

* [skip ci]

* attempt to not run CI on documentation updates

* remove old if statements in CI

* cleaner names [skip ci]
2022-08-19 11:14:03 -07:00

20 lines
429 B
YAML

name: "CI - Shell Script Linter"
on:
push:
branches:
- main
pull_request:
jobs:
shellchecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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