Skip to content

Commit 32d43a9

Browse files
authored
feat: ✨ add gitleaks pre-commit hook (#133)
# Description To stop credentials and passwords and tokens from being accidentally added. This PR needs a quick review.
1 parent 6a23bad commit 32d43a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ ci:
55
autoupdate_commit_msg: "ci(pre-commit): :construction_worker: update pre-commit CI version"
66

77
repos:
8+
- repo: https://github.com/gitleaks/gitleaks
9+
rev: v8.27.2
10+
hooks:
11+
- id: gitleaks
12+
813
- repo: https://github.com/pre-commit/pre-commit-hooks
914
rev: v5.0.0
1015
hooks:

0 commit comments

Comments
 (0)