Skip to content

Commit 65f6af5

Browse files
authored
Merge pull request #29 from rog-golang-buddies/gitleaks-pre-commit
Add gitleaks to detect secrets on commit
2 parents 3904db7 + 14053fb commit 65f6af5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ repos:
1212
rev: v1.46.2
1313
hooks:
1414
- id: golangci-lint
15+
- repo: https://github.com/zricethezav/gitleaks
16+
rev: v8.2.0
17+
hooks:
18+
- id: gitleaks
1519

1620
ci:
1721
autofix_commit_msg: |

0 commit comments

Comments
 (0)