You've already forked helm-actions
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:
14
.gitea/workflows/shellcheck.yml
Normal file
14
.gitea/workflows/shellcheck.yml
Normal 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 {} \;
|
Reference in New Issue
Block a user