Add step info to scaffolder action context

Signed-off-by: Stephen Glass <stephen@stephen.glass>
This commit is contained in:
Stephen Glass
2025-07-16 22:39:59 -04:00
parent 4337750bdd
commit 812485cfd3
6 changed files with 80 additions and 0 deletions
+4
View File
@@ -53,6 +53,10 @@ export type ActionContext<
};
signal?: AbortSignal;
each?: JsonObject;
step?: {
id?: string;
name?: string;
};
};
// @public (undocumented)
@@ -93,6 +93,20 @@ export type ActionContext<
* Optional value of each invocation
*/
each?: JsonObject;
/**
* Step information
*/
step?: {
/**
* The id of step which triggered the action
*/
id?: string;
/**
* The name of the step which triggered the action
*/
name?: string;
};
};
/** @public */