diff --git a/lib/init-action.js b/lib/init-action.js index 34a3a1086..5cffab006 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -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"), diff --git a/src/init-action.ts b/src/init-action.ts index 8b6c200a0..0b24cd7e4 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -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