mirror of
https://github.com/hanzo-ml/spark-operator.git
synced 2026-07-27 06:55:02 +00:00
* ci: add shfmt and shellcheck checks for shell scripts Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com> * fix: address PR review feedback on shell lint setup Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com> --------- Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>
29 lines
818 B
YAML
29 lines
818 B
YAML
repos:
|
|
- repo: https://github.com/norwoodj/helm-docs
|
|
rev: "v1.13.1"
|
|
hooks:
|
|
- id: helm-docs
|
|
args:
|
|
# Make the tool search for charts only under the `charts` directory
|
|
- --chart-search-root=charts
|
|
- --template-files=README.md.gotmpl
|
|
- --sort-values-order=file
|
|
- repo: local
|
|
hooks:
|
|
- id: shfmt
|
|
name: shfmt
|
|
description: Format shell scripts with shfmt
|
|
entry: make shell-fmt
|
|
language: system
|
|
types: [shell]
|
|
pass_filenames: false
|
|
require_serial: true
|
|
- id: shellcheck
|
|
name: shellcheck
|
|
description: Lint shell scripts with shellcheck
|
|
entry: make shell-lint
|
|
language: system
|
|
types: [shell]
|
|
pass_filenames: false
|
|
require_serial: true
|