From d8485b9e8710c7671d167193c7512a475e025949 Mon Sep 17 00:00:00 2001 From: Varun Chandak Date: Fri, 25 Aug 2023 12:49:26 +0530 Subject: [PATCH] Add .pre-commit-config.yaml --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000000..ba1f559edd95 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +repos: +- repo: local + hooks: + - id: trufflehog + name: TruffleHog + description: Detect secrets in your data. + entry: bash -c 'trufflehog git file://. --since-commit HEAD --only-verified --fail' + language: system + stages: ["commit", "push"]