Merge pull request #6379 from jbampton/add-pre-commit-hook-gitleaks

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-10-17 02:40:28 -04:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -25,7 +25,6 @@ jobs:
# VALIDATE_BASH_EXEC: true
VALIDATE_DOCKERFILE_HADOLINT: true
# VALIDATE_EDITORCONFIG: true
VALIDATE_GITLEAKS: true
# VALIDATE_SHELL_SHFMT: true
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+4
View File
@@ -10,6 +10,10 @@ repos:
hooks:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/gitleaks/gitleaks
rev: v8.20.1
hooks:
- id: gitleaks
- repo: https://github.com/shssoichiro/oxipng
rev: v9.1.2
hooks: