Skip to main content

Function: hasWorkflowActionStep()

function hasWorkflowActionStep(
root: YAMLMapping,
matchesReference: (usesReference: string) => boolean
): boolean;

Defined in: _internal/workflow-action-steps.ts:84

Determine whether any workflow step uses an action whose reference matches a predicate.

Parametersโ€‹

rootโ€‹

YAMLMapping

matchesReferenceโ€‹

(usesReference: string) => boolean

Returnsโ€‹

boolean