-
Notifications
You must be signed in to change notification settings - Fork 7
33 lines (30 loc) · 1.07 KB
/
Copy pathcheckbashisms.yaml
File metadata and controls
33 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: checkbashisms
"on": [push, pull_request]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 1
show-progress: false
persist-credentials: false
- uses: luizm/action-sh-checker@v0.10.0
with:
# No "sh_checker_only_diff: true" because the workflow also runs on
# `push` and because without environment variable `GITHUB_TOKEN`, it
# silently finds no files and thus does nothing.
sh_checker_checkbashisms_enable: true
# shfmt and shellcheck are run by `prek`.
sh_checker_shfmt_disable: true
sh_checker_shellcheck_disable: true
# Space-separated list of regexes matched against each file name.
# povray is third-party code that is not maintained here.
# checkbashisms cannot check zsh scripts.
sh_checker_exclude: >-
gradlew
tests/kvasir-tests/povray/
scripts/eps2png-mono-alpha[.]zsh