mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 05:26:35 +00:00
pre-commit: add gitleaks to detect hardcoded secrets (#11064)
This commit is contained in:
parent
165ab0aabe
commit
1fbe1d7682
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user