Add secret scans on commit

This commit is contained in:
2025-08-13 17:48:32 +03:00
parent ad886ea985
commit 8fad4c5033

11
lefthook.yml Normal file
View File

@@ -0,0 +1,11 @@
# Refer for explanation to following link:
# https://lefthook.dev/configuration/
templates:
av-hooks-dir: "/home/av/projects/private/git-hooks"
pre-commit:
jobs:
- name: "gitleaks"
run: "gitleaks git --staged"