chore: added gitleaks pre commit hook
This commit is contained in:
parent
694f5db006
commit
fcf1d7a21f
4 changed files with 17 additions and 2 deletions
|
|
@ -21,4 +21,8 @@ fi
|
|||
echo "Running linter..."
|
||||
make lint
|
||||
|
||||
# Check for secrets with gitleaks
|
||||
echo "Checking for secrets..."
|
||||
make gitleaks --staged
|
||||
|
||||
echo "Pre-commit checks passed!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue