From 121a01f78ae3289703d690f5073eb36cade7fa5a Mon Sep 17 00:00:00 2001 From: BLANKatGITHUB <131886247+BLANKatGITHUB@users.noreply.github.com> Date: Sat, 2 Nov 2024 13:14:00 +0530 Subject: [PATCH] =?UTF-8?q?feat(pre-commit):=20adds=20senstive=20data=20ch?= =?UTF-8?q?eck=20like=20api=20keys=20and=20linting=20=E2=80=A6=20(#4030)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(pre-commit): adds senstive data check like api keys --------- Signed-off-by: BLANKatGITHUB <131886247+BLANKatGITHUB@users.noreply.github.com> --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 698625b06..6321d493b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,3 +30,10 @@ repos: rev: 23.7.0 hooks: - id: black + + - repo: https://github.com/gitleaks/gitleaks + rev: v8.16.3 + hooks: + - id: gitleaks + +