Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
chore(security): add gitguardian precommit hook (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre authored Jun 3, 2022
1 parent 9b6cdf1 commit 136d320
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ MAIL_TLS=true
MAIL_ENABLED=true
SUPPORT_MAIL=monpsysante@fabrique.social.gouv.fr
API_ADRESSE_URL=https://api-adresse.data.gouv.fr/search

GITGUARDIAN_API_KEY=
2 changes: 2 additions & 0 deletions .env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ MAIL_TLS=true
MAIL_ENABLED=true
SUPPORT_MAIL=monpsysante@fabrique.social.gouv.fr
API_ADRESSE_URL=https://api-adresse.data.gouv.fr/search

GITGUARDIAN_API_KEY=
2 changes: 2 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ NEXT_PUBLIC_NEW_FEATURES=true
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=Hello
API_ADRESSE_URL=https://httpbin.org/apiAdresse

GITGUARDIAN_API_KEY=
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.12.0
hooks:
- id: ggshield
language_version: python3
stages: [commit]

0 comments on commit 136d320

Please sign in to comment.