Force reusable job needs to be empty array
This commit is contained in:
@@ -103,7 +103,7 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token:
|
|||||||
type: "reusableWorkflowJob",
|
type: "reusableWorkflowJob",
|
||||||
id: jobKey,
|
id: jobKey,
|
||||||
name: jobName(name, jobKey),
|
name: jobName(name, jobKey),
|
||||||
needs,
|
needs: needs || [],
|
||||||
if: new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined),
|
if: new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined),
|
||||||
ref: workflowJobRef,
|
ref: workflowJobRef,
|
||||||
"input-definitions": undefined,
|
"input-definitions": undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user