2024-05-31 13:49:36 -04:00
|
|
|
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:
|
2024-09-10 19:23:41 -04:00
|
|
|
name: Shell syntax checker
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
permissions:
|
|
|
|
contents: read
|
2024-05-31 13:49:36 -04:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run ShellCheck
|
2024-09-10 19:23:41 -04:00
|
|
|
uses: ludeeus/action-shellcheck@master
|