Add pre-commit hook to run gitleaks
Search for accidentally included secrets when committing
This commit is contained in:
parent
51af98e49b
commit
dc2ccdc7ea
5
.pre-commit-config.yaml
Normal file
5
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
repos:
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: v8.18.4
|
||||
hooks:
|
||||
- id: gitleaks
|
Reference in a new issue