mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
419 B
26 lines
419 B
name: Lint Bash Scripts
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'scripts/**.sh'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'scripts/**.sh'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run ShellCheck
|
|
run: shellcheck ./scripts/**/*.sh |