add git guardian pre-commit

This commit is contained in:
Gabriel Augendre 2024-10-11 01:49:32 +02:00
parent a5e046b4f5
commit dea406fb54

View file

@ -4,6 +4,7 @@ ci:
skip: skip:
# build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB # build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB
- ansible-lint - ansible-lint
- ggshield
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
@ -32,3 +33,7 @@ repos:
entry: python3 -m ansiblelint -v --force-color --fix entry: python3 -m ansiblelint -v --force-color --fix
additional_dependencies: additional_dependencies:
- ansible # necessary because we're using community collections - ansible # necessary because we're using community collections
- repo: https://github.com/gitguardian/ggshield
rev: v1.32.1
hooks:
- id: ggshield