adding gitleaks pre commit hook (#22)

pull/23/head
Marcus Kok 2 years ago committed by GitHub
parent 0fa327abd6
commit 35aeeb0f7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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