Files
vscode/.github/codeql/codeql-config.yml
T
Dmitriy VasyuraandCopilot 24998bd483 build: Exclude tests from CodeQL analysis (#333499)
Exclude tests from CodeQL analysis

Reduce the CodeQL database size so default-branch overlay databases can be cached and reused by pull request scans.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-01 00:10:09 +00:00

22 lines
664 B
YAML

# Apply this file to CodeQL default setup with the repository property:
# github-codeql-config-file: ./.github/codeql/codeql-config.yml
paths-ignore:
# Keep directory exclusions scoped: product code imports helpers from some
# extension src/test directories.
- 'test/**'
- 'src/**/test/**'
- 'build/**/test/**'
- 'cli/tests/**'
- '.eslint-plugin-local/tests/**'
- 'extensions/*/test/**'
- 'extensions/*/tests/**'
# Keep exact suffixes: themes.test.contribution.ts ships in the product.
- '**/*.test.js'
- '**/*.test.jsx'
- '**/*.test.mjs'
- '**/*.test.cjs'
- '**/*.test.ts'
- '**/*.test.tsx'
- '**/*.test.mts'
- '**/*.test.cts'