adding gitleaks pre commit hook

pull/22/head
Marcus Kok 2 years ago
parent 0fa327abd6
commit ff07cbbe6b

@ -0,0 +1,5 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks

@ -9,3 +9,7 @@ sandbox:
unit-test: unit-test:
TESTING=true go test -v ./test TESTING=true go test -v ./test
rm -rf test/dotctl_test 2> /dev/null rm -rf test/dotctl_test 2> /dev/null
pre-commit-hooks:
pre-commit autoupdate
pre-commit install

Loading…
Cancel
Save