Skip to content

Repository script API / utils/workspace-discovery / workflowJob

Function: workflowJob() ​

workflowJob(__namedParameters, name): { file: any; source: any; } | undefined

Defined in: utils/workspace-discovery.mjs:50

Returns the first workflow job with this name, as its workflow file and the job's lines.

Parameters ​

__namedParameters ​

read ​

any

workflowFiles ​

any

name ​

any

Returns ​

{ file: any; source: any; } | undefined

pumpkin-plugins documentation