Skip to content

Commit 57ceec1

Browse files
authored
Add Gitleaks hook to pre-commit (pals-project#74)
1 parent 7037118 commit 57ceec1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ repos:
88
args: [--fix, --exit-non-zero-on-fix]
99
# Run the formatter
1010
- id: ruff-format
11+
12+
# Scan for secret files that should not be committed
13+
- repo: https://github.com/gitleaks/gitleaks
14+
rev: v8.30.0
15+
hooks:
16+
- id: gitleaks

0 commit comments

Comments
 (0)