mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +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
|
entry: gitleaks protect --verbose --redact --staged
|
||||||
language: golang
|
language: golang
|
||||||
pass_filenames: false
|
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