From: Stefan Gasser Date: Mon, 12 Jan 2026 15:48:24 +0000 (+0100) Subject: Exclude test files from secret scanning (#31) X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=87d5b56f3f6e2dc9cbe3f55009b5a34681fc71be;p=sgasser-llm-shield.git Exclude test files from secret scanning (#31) Test files contain intentional fake secrets for testing secret detection. This prevents false positive alerts for MongoDB connection strings and other test fixtures in src/secrets/detect.test.ts. --- diff --git a/.github/secret_scanning.yml b/.github/secret_scanning.yml new file mode 100644 index 0000000..7b4622c --- /dev/null +++ b/.github/secret_scanning.yml @@ -0,0 +1,4 @@ +# Exclude test files from secret scanning +# Test files contain intentional fake secrets for testing secret detection +paths-ignore: + - "src/**/*.test.ts"