32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0 # Use the ref you want to point at
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/google/yamlfmt
|
|
rev: v0.13.0
|
|
hooks:
|
|
- id: yamlfmt
|
|
exclude: |
|
|
(?x)^(
|
|
.*secrets.*yaml
|
|
)$
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.2.4
|
|
hooks:
|
|
- id: codespell
|
|
- repo: local
|
|
hooks:
|
|
- id: check-sops-secrets
|
|
name: check sops secrets
|
|
entry: ./scripts/sops_check.sh
|
|
language: script
|
|
# - name: check unused values (disable by setting DISABLE_ADDITIONAL_CHECKS=1)
|
|
# id: check-unused-values
|
|
# entry: ./scripts/find_unused_values.sh
|
|
# language: script
|
|
# - name: lint helmfiles (it might take a while, disable by setting DISABLE_ADDITIONAL_CHECKS=1)
|
|
# id: lint-all-envs
|
|
# entry: ./scripts/lint_all_envs.sh
|
|
# language: script
|