ci(codeql): separate production scans from test fixtures (#8450)

This commit is contained in:
gensokyo-dev authored and GitHub committed 2026-11-01 15:24:29 +08:00
1 parent e18594b247
commit a6caa79bf4
6 files changed
+248 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
name: REA production code
# Match the existing default-setup scan's local-input threat model.
threat-models: [local]
# Keep the default query suite and all production roots, including bridge/,
# install.sh, runtime scripts, release controllers, and GitHub Actions.
# Exclude test inputs at extraction time so they cannot taint production callers.
paths-ignore:
- tests
- scripts/fixtures
- "**/*.test.*"
- "**/*.fixture.*"
- "**/test_*.py"
- "**/*_test.py"