k8s-deployment/.pre-commit-config.yaml

32 lines
969 B
YAML
Raw Normal View History

2024-09-11 21:19:35 +00:00
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
2024-10-30 12:35:38 +00:00
exclude: |
(?x)^(
.*secrets.*yaml
)$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
2024-09-11 21:19:35 +00:00
- repo: local
hooks:
- id: check-sops-secrets
2024-10-30 12:35:38 +00:00
name: check sops secrets
2024-09-11 21:19:35 +00:00
entry: ./scripts/sops_check.sh
language: script
2024-10-30 12:35:38 +00:00
- 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