Add delay to init for testing

This commit is contained in:
Henry Mercer
2026-01-23 14:30:11 +00:00
parent 6ea1dea708
commit a753f07e38
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -92569,6 +92569,7 @@ async function run(startedAt) {
logger.info(`Job run UUID is ${jobRunUuid}.`);
core13.exportVariable("JOB_RUN_UUID" /* JOB_RUN_UUID */, jobRunUuid);
core13.exportVariable("CODEQL_ACTION_INIT_HAS_RUN" /* INIT_ACTION_HAS_RUN */, "true");
await new Promise((resolve9) => setTimeout(resolve9, 5 * 60 * 1e3));
configFile = getOptionalInput("config-file");
sourceRoot = path15.resolve(
getRequiredEnvParam("GITHUB_WORKSPACE"),
+3
View File
@@ -251,6 +251,9 @@ async function run(startedAt: Date) {
core.exportVariable(EnvVar.INIT_ACTION_HAS_RUN, "true");
// wait 5 minutes for testing
await new Promise((resolve) => setTimeout(resolve, 5 * 60 * 1000));
configFile = getOptionalInput("config-file");
// path.resolve() respects the intended semantics of source-root. If