From 89fcffa0101748752571adf26f22fb4f89861063 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 14 Jul 2026 09:14:29 +0000 Subject: [PATCH] fix(security): add .env exclusion patterns to root .gitignore Prevents accidental commit of .env files containing API keys and other secrets (GEMINI_API_KEY, RESEND_API_KEY, etc.). Preserves .env.example files which serve as documentation templates. Co-authored-by: CARBComplianceApp --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7a07c41..452c7fc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ node_modules/ .wrangler/ .hermes/ *.log +.env +.env.* +!.env.example