Skip to content

Commit

Permalink
When using codescanning config call run queries a single time
Browse files Browse the repository at this point in the history
When the codescanning config is being used by the CLI, there is a
single query suite that is generated that contains all queries to be
run by the analysis. This is different from the traditional way, where
there are potentially three query suites: builtin, custom, and packs.

We need to ensure that when the codescanning config is being used,
only a single call to run queries is used, and this call uses the
single generated query suite.

Also, this commit changes the cutoff version for codescanning config to
2.10.1. Earlier versions work, but there were some bugs that are only
fixed in 2.10.1 and later.
  • Loading branch information
aeisenberg committed Jun 29, 2022
1 parent 6fabde2 commit 8688a09
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 146 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ No user facing changes.
## 2.1.7 - 05 Apr 2022

- A bug where additional queries specified in the workflow file would sometimes not be respected has been fixed. [#1018](https://github.com/github/codeql-action/pull/1018)
No user facing changes.

## 2.1.6 - 30 Mar 2022

Expand Down
122 changes: 74 additions & 48 deletions lib/analyze.js

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

Loading

0 comments on commit 8688a09

Please sign in to comment.