Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add pre-commit hook

Maidul Islam2f765600b125
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
new file mode 100644
index 0000000000..d391a9ab92
--- /dev/null
+++ b/.pre-commit-hooks.yaml
@@ -0,0 +1,6 @@
+- id: infisical-scan
+ name: Scan for hardcoded secrets
+ description: Will scan for hardcoded secrets using Infisical CLI
+ entry: infisical scan git-changes --verbose --redact --staged
+ language: golang
+ pass_filenames: false