pre-commit-config-example.yaml 409 B

1234567891011121314
  1. # pre-commit configuration example to add docker-based hook that executes gitleaks
  2. # This should be added to .pre-commit-config.yaml coniguration file: https://pre-commit.com/#2-add-a-pre-commit-configuration
  3. repos:
  4. - repo: local
  5. hooks:
  6. - id: gitleaks
  7. name: Gitleaks
  8. language: docker_image
  9. entry: zricethezav/gitleaks:v7.4.0
  10. args:
  11. - --config-path
  12. - .gitleaks.toml
  13. - --verbose