More fixes from CR

This commit is contained in:
Óscar San José
2026-05-29 13:07:20 +02:00
parent 3782e65e9f
commit f9b6569832
5 changed files with 42 additions and 57 deletions

View File

@@ -2,6 +2,7 @@ import * as core from "@actions/core";
import { v4 as uuidV4 } from "uuid";
import {
isDynamicWorkflow,
getActionVersion,
getOptionalInput,
getRequiredInput,
@@ -156,9 +157,10 @@ async function run(startedAt: Date): Promise<void> {
// Determine the effective tools input.
// The explicit `tools` workflow input takes precedence. If none is provided,
// fall back to the 'github-codeql-tools' repository property (if set).
// fall back to the 'github-codeql-tools' repository property (if set) only for dynamic workflows.
effectiveToolsInput = resolveToolsInput(
getOptionalInput("tools"),
isDynamicWorkflow(),
repositoryProperties,
logger,
);