Function: getWorkflowRoot()
function getWorkflowRoot(context: RuleContext): YAMLMapping | null;
Defined in: _internal/workflow-yaml.ts:61
Resolve the first document's root mapping when linting a workflow file.
Parametersโ
contextโ
RuleContext
Returnsโ
YAMLMapping | null