mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add pre-commit hook gitleaks to detect and prevent hardcoded secrets
https://github.com/gitleaks/gitleaks Adding another check/test to our pre-commit framework. gitleaks is a popular tool that helps with security. Removes the gitleaks check from the Super-Linter. So now we can run gitleaks with pre-commit on `git commit`
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user