This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 1fbe1d76827 pre-commit: add gitleaks to detect hardcoded secrets
(#11064)
1fbe1d76827 is described below
commit 1fbe1d76827d5ba1cb2a9683f0ff9d78744ca91e
Author: John Bampton <[email protected]>
AuthorDate: Thu Jul 24 01:29:41 2025 +1000
pre-commit: add gitleaks to detect hardcoded secrets (#11064)
---
.pre-commit-config.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f14b84608c8..85bba502116 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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: