Skip to main content

Interface: RunStepHooks

Defined in: packages/core/src/application/use-cases/run-step-hooks.ts:57

Executes executable hooks for a given workflow step and phase.

Resolves hooks from the schema, builds template variables from the active change, and executes them via HookRunner with fail-fast (pre) or fail-soft (post) semantics.

Methods​

execute()​

execute(input, onProgress?): Promise<RunStepHooksResult>

Defined in: packages/core/src/application/use-cases/run-step-hooks.ts:94

Executes executable hooks for the given step and phase.

Parameters​

input​

RunStepHooksInput

The step name, phase, and optional hook filter

onProgress?​

OnHookProgress

Optional callback for hook execution progress events

Returns​

Promise<RunStepHooksResult>

Per-hook execution results with overall success status