chore(ci): add shellcheck (#7)

Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/7
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: Markus Pesch <markus.pesch@cryptic.systems>
Co-committed-by: Markus Pesch <markus.pesch@cryptic.systems>
This commit is contained in:
2025-04-03 17:52:36 +00:00
committed by justusbunsi
parent 5b19636034
commit 7f868a0a27
4 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,14 @@
name: Lint Shell files
on:
pull_request:
branches: ["*"]
types: ["opened", "reopened", "synchronize"]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- run: apt update --yes && apt install --yes shellcheck
- run: find . -type f -name "*.sh" -exec shellcheck -a {} \;