Skip to content

Commit 15e418d

Browse files
authored
Add detect-private-key to pre-commit (#3589)
1 parent 6b7e169 commit 15e418d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ repos:
2929
- id: no-commit-to-branch
3030
- id: requirements-txt-fixer
3131
- id: fix-byte-order-marker
32+
- id: detect-private-key
33+
exclude: ^(examples/|tests/|internal/k8s/secrets/)
3234
- repo: local
3335
hooks:
3436
- id: golang-diff

0 commit comments

Comments
 (0)