Make ActionState available and add test

This commit is contained in:
Michael B. Gale
2026-07-28 18:41:41 +01:00
parent 1f9caf0118
commit c7ae51bb2d
4 changed files with 15 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ async function sendCompletedStatusReport(
/** The main behaviour of this action. */
async function run(
actionState: ActionState<["Base", "Logger", "Actions"]>,
actionState: ActionState<["Base", "Logger", "Env", "Actions"]>,
): Promise<void> {
// To capture errors appropriately, keep as much code within the try-catch as
// possible, and only use safe functions outside.
@@ -141,7 +141,7 @@ async function run(
const actionStateWithFeatures = { ...actionState, features };
// Create a unique identifier for this run.
getJobUUID(logger);
getJobUUID(actionState);
const statusReportBase = await createStatusReportBase(
ActionName.SetupCodeQL,