Skip to content

Commit f30de92

Browse files
committed
Add gitleaks pre-commit hook for secret detection
Adds gitleaks to .pre-commit-config.yaml to catch secrets before they are committed. Part of the org-wide rollout (infra#20, infra#43). Developers need to run 'pre-commit install' after pulling this change.
1 parent ed41350 commit f30de92

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.30.0
4+
hooks:
5+
- id: gitleaks

0 commit comments

Comments
 (0)