diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 688aaac1b5..93f14ce3c2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,6 +29,8 @@ repos: - id: no-commit-to-branch - id: requirements-txt-fixer - id: fix-byte-order-marker + - id: detect-private-key + exclude: ^(examples/|tests/|internal/k8s/secrets/) - repo: local hooks: - id: golang-diff