Always use the combined bundle in setup-codeql

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Henry Mercer
2026-09-30 15:24:35 +01:00
parent 1609a51ab7
commit d8b6f2a09b
6 changed files with 43 additions and 26 deletions

View File

@@ -165,7 +165,12 @@ async function run(
gitHubVersion.type,
codeQLDefaultVersionInfo,
rawLanguages,
undefined, // otherLanguagePacksReason: this Action doesn't take a query configuration
// CodeQL resolves the dependencies of queries that aren't in compiled packs from the bundle,
// so the queries that the workflow runs with this CLI may need library packs for languages
// other than those in the `languages` input. That input therefore only informs the choice of
// CLI version.
"the 'setup-codeql' Action can't tell whether the queries that the workflow runs will need " +
"library packs for other languages",
analysisKinds.length === 1 &&
analysisKinds[0] === AnalysisKind.CodeScanning,
features,