From dea406fb54c010ab31aa6b8b5c9562dd04fc094b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 11 Oct 2024 01:49:32 +0200 Subject: [PATCH] add git guardian pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 48f3030..35987b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,7 @@ ci: skip: # build of https://github.com/ansible/ansible-lint:ansible@v24.9.2 for python@python3 exceeds tier max size 250MiB: 405.6MiB - ansible-lint + - ggshield repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -32,3 +33,7 @@ repos: entry: python3 -m ansiblelint -v --force-color --fix additional_dependencies: - ansible # necessary because we're using community collections + - repo: https://github.com/gitguardian/ggshield + rev: v1.32.1 + hooks: + - id: ggshield