pre-commit: add gitleaks to detect hardcoded secrets (#11064)

This commit is contained in:
John Bampton 2025-07-24 01:29:41 +10:00 committed by GitHub
parent 165ab0aabe
commit 1fbe1d7682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,12 @@ repos:
hooks:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/gitleaks/gitleaks
rev: v8.27.2
hooks:
- id: gitleaks
name: run gitleaks
description: detect hardcoded secrets
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks: