Commit 0f22fd4
authored
Add
* CDS extractor support paths-ignore CodeQL config
Read `paths-ignore` patterns from `.github/codeql/codeql-config.{yml,yaml}`
and apply them at two levels:
- CDS file discovery: filter out ignored files and skip entire projects
whose directory matches a pattern (avoids unnecessary compilation)
- JS extraction handoff: append `exclude:` entries to LGTM_INDEX_FILTERS
so compiled .cds.json output is also excluded
Uses js-yaml for config parsing and minimatch for glob matching, consistent
with CodeQL's documented paths-ignore semantics (**, *, directory prefixes).
Results are cached per source root to avoid repeated YAML reads.
* Minor version bump of CDS extractor node deps
Bumps to latest available minor versions for CDS extractor NodeJS
dependencies, where a full version upgrade of such (e.g. eslint)
dependencies is currently blocked due to conflicts with transitive
dependencies.
* Address PR review comments
* CDS extractor support for CODEQL_CONFIG_PATH envpaths-ignore support to CDS extractor and update dependencies (#327)1 parent 8d17cbf commit 0f22fd4
File tree
15 files changed
+10573
-924
lines changed- extractors/cds/tools
- dist
- src
- cds/parser
- test/src
15 files changed
+10573
-924
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
0 commit comments