Skip to content

Commit

Permalink
Add capability to filter queries
Browse files Browse the repository at this point in the history
This change adds a `query-filters` property to the codeql-config file.

This property is an array of `exclude`/`include` entries for a query
suite. These filters are appended to the generated query suite files
and used to filter queries after they are selected.

A related change is that now, all pack references are run in a single
query suite, which has the query filters appended to them.
  • Loading branch information
aeisenberg committed Jun 14, 2022
1 parent bcb7fad commit 40b2800
Show file tree
Hide file tree
Showing 18 changed files with 636 additions and 100 deletions.
69 changes: 56 additions & 13 deletions lib/analyze.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analyze.js.map

Large diffs are not rendered by default.

132 changes: 132 additions & 0 deletions lib/analyze.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 40b2800

Please sign in to comment.