mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 01:49:43 +00:00
More fixes from CR
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user