summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2026-04-19 21:45:47 +0500
committerAnton Bobov <anton@bobov.name>2026-04-20 13:24:33 +0500
commitb11137b123c51126e8a826fdd011e0cba81e0b51 (patch)
tree5d594f9ac420cecd66e990d78673618da2926516 /.pre-commit-config.yaml
parentccd02f452a96ab5269495afe973bb2058ea00b6f (diff)
add gitleaks pre-commit hook
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 87700c6..61eb8b4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -17,3 +17,8 @@ repos:
rev: v2.4.2
hooks:
- id: codespell
+
+ - repo: https://github.com/gitleaks/gitleaks
+ rev: v8.30.0
+ hooks:
+ - id: gitleaks