mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
use official docker image as pre-commit hook (#818)
* use official docker image as pre-commit hook * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml
This commit is contained in:
1 parent
0b07625567
commit
1ddc924a67
1 file changed
+5
@@ -4,3 +4,8 @@
|
||||
entry: gitleaks protect --verbose --redact --staged
|
||||
language: golang
|
||||
pass_filenames: false
|
||||
- id: gitleaks-docker
|
||||
name: Detect hardcoded secrets
|
||||
description: Detect hardcoded secrets using Gitleaks
|
||||
entry: zricethezav/gitleaks:v8.5.2 protect --verbose --redact --staged
|
||||
language: docker_image
|
||||
Reference in new issue
Block a user