1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-12-22 23:21:33 -05:00
QubesOS-Scripts/.github/workflows/shellcheck.yml
Tommy 255be6a5fb
Ignore SC3040
Signed-off-by: Tommy <contact@tommytran.io>
2024-09-11 18:29:38 -07:00

42 lines
762 B
YAML

name: ShellCheck
on:
workflow_dispatch:
push:
branches:
- master
- main
paths-ignore:
- '**.gitignore'
- '**.md'
- 'LICENSE'
- '**.conf'
- '**.service'
- '**.timer'
- '**.path'
- '**.list'
pull_request:
paths-ignore:
- '**.gitignore'
- '**.md'
- 'LICENSE'
- '**.conf'
- '**.service'
- '**.timer'
- '**.path'
- '**.list'
jobs:
shellcheck:
name: Shell syntax checker
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -e SC3040