Files
pre-commit/.pre-commit-hooks.yaml
T

7 lines
307 B
YAML

- id: ggshield-not-ci
name: GitGuardian Shield (pre-commit)
entry: bash -c 'if [[ ! -z ${CI}} ]]; then ggshield secret scan pre-commit; fi'
description: Runs ggshield in non-CI environments to detect hardcoded secrets, security vulnerabilities and policy breaks.
stages: [commit]
language: system