Exclude test files from secret scanning (#31)
authorStefan Gasser <redacted>
Mon, 12 Jan 2026 15:48:24 +0000 (16:48 +0100)
committerGitHub <redacted>
Mon, 12 Jan 2026 15:48:24 +0000 (16:48 +0100)
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.

.github/secret_scanning.yml [new file with mode: 0644]

diff --git a/.github/secret_scanning.yml b/.github/secret_scanning.yml
new file mode 100644 (file)
index 0000000..7b4622c
--- /dev/null
@@ -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"
git clone https://git.99rst.org/PROJECT