NGINX-Configs/.gitea/workflows/shellcheck.yml

40 lines
720 B
YAML
Raw Normal View History

2025-01-12 15:52:13 +01:00
name: ShellCheck
on:
workflow_dispatch:
push:
branches:
- master
- development
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
2025-01-12 22:43:42 +01:00
runs-on: ubuntu-latest
2025-01-12 15:52:13 +01:00
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
2025-01-12 16:40:19 +01:00
uses: ludeeus/action-shellcheck@master