We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 020856c commit 3b0b845Copy full SHA for 3b0b845
src/setup-codeql.ts
@@ -427,8 +427,10 @@ export async function getCodeQLSource(
427
Feature.AllowToolcacheInput,
428
);
429
const allowToolcacheValue =
430
- toolsInputFromRepositoryProperty ||
431
- (allowToolcacheValueFF && (isDynamicWorkflow() || util.isInTestMode()));
+ allowToolcacheValueFF &&
+ (toolsInputFromRepositoryProperty ||
432
+ isDynamicWorkflow() ||
433
+ util.isInTestMode());
434
if (allowToolcacheValue) {
435
// If `toolsInput === "toolcache"`, try to find the latest version of the CLI that's available in the toolcache
436
// and use that. We perform this check here since we can set `cliVersion` directly and don't want to default to
0 commit comments