Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-ba8434abc0

This commit is contained in:
Michael B. Gale
2026-11-09 13:24:42 +00:00
committed by GitHub
9 changed files with 67 additions and 16 deletions

10
lib/entry-points.js generated
View File

@@ -178722,7 +178722,7 @@ function getDiffRangesJsonFilePath(env = getEnv()) {
return path2.join(getTemporaryDirectory(env), PR_DIFF_RANGE_JSON_FILENAME);
}
function getActionVersion() {
return "4.39.3";
return "4.39.4";
}
function getWorkflowEventName(env = getEnv()) {
return env.getRequired("GITHUB_EVENT_NAME" /* GITHUB_EVENT_NAME */);
@@ -184862,13 +184862,16 @@ async function deleteToolcacheBundles({
}
const versionDirectory = path12.join(toolDirectory, entry.name);
try {
const deletionStart = import_perf_hooks3.performance.now();
await fs15.promises.rm(versionDirectory, {
force: true,
recursive: true
});
deletedVersions.push(entry.name);
logger2.info(
`Deleted the CodeQL tools at '${versionDirectory}' from the toolcache to free up disk space.`
`Deleted the CodeQL tools at '${versionDirectory}' from the toolcache to free up disk space (${formatDuration(
durationMsSince(deletionStart)
)}).`
);
} catch (e) {
failed = true;
@@ -185367,13 +185370,14 @@ async function tryDeleteToolcacheBundles({
if (!isGitHubHostedRunner(env) || !isToolcacheOnWorkspaceFilesystem(logger2)) {
return;
}
const startTime = import_perf_hooks4.performance.now();
const result = await deleteToolcacheBundles({ env, logger: logger2 });
addNoLanguageDiagnostic(
void 0,
makeTelemetryDiagnostic(
"codeql-action/toolcache-bundle-cleanup",
"Toolcache CodeQL bundle cleanup",
{ ...result }
{ ...result, durationMs: durationMsSince(startTime) }
)
);
}