git.99rst.org
/
sgasser-llm-shield.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a1d0db7
)
Exclude test files from secret scanning (#31)
author
Stefan Gasser
<redacted>
Mon, 12 Jan 2026 15:48:24 +0000
(16:48 +0100)
committer
GitHub
<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]
patch
|
blob
diff --git a/.github/secret_scanning.yml
b/.github/secret_scanning.yml
new file mode 100644
(file)
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"
git clone https://git.99rst.org/PROJECT