Skip to content

fix(ci): switch shfmt to scop/pre-commit-shfmt, fix branch protection… #8

fix(ci): switch shfmt to scop/pre-commit-shfmt, fix branch protection…

fix(ci): switch shfmt to scop/pre-commit-shfmt, fix branch protection… #8

Workflow file for this run

name: ShellCheck

Check failure on line 1 in .github/workflows/shellcheck.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/shellcheck.yml

Invalid workflow file

You have an error in your yaml syntax
on:
push:
branches: [main]
paths:
- "**/*.sh"
- ".bash_aliases"
pull_request:
paths:
- "**/*.sh"
- ".bash_aliases"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

shellcheck:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
with:
severity: warning
permissions:
contents: read