Skip to content

Commit 3e3f13b

Browse files
committed
Enable gitleaks to detect secrets
Signed-off-by: Justin Zhang <[email protected]>
1 parent 3434989 commit 3e3f13b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
default_install_hook_types: [pre-commit, commit-msg]
22
repos:
3+
- repo: https://github.com/gitleaks/gitleaks
4+
rev: v8.24.2
5+
hooks:
6+
- id: gitleaks
37
- repo: https://github.com/adrienverge/yamllint.git
48
rev: v1.19.0
59
hooks:

0 commit comments

Comments
 (0)