Skip to main content

templates/workflows/shared/operations-header

Interfaces

HeaderContext

Defined in: templates/workflows/shared/operations-header.ts:11

Properties

branchFlow
branchFlow: string[];

Defined in: templates/workflows/shared/operations-header.ts:12

nodeVersion?
optional nodeVersion: string;

Defined in: templates/workflows/shared/operations-header.ts:17

Existing node version from the pipeline, if present. Falls back to PipeCraft defaults when not provided.

pnpmVersion?
optional pnpmVersion: string;

Defined in: templates/workflows/shared/operations-header.ts:22

Existing pnpm version from the pipeline, if present. Falls back to PipeCraft defaults when not provided.

Functions

createHeaderOperations()

function createHeaderOperations(ctx): PathOperationConfig[];

Defined in: templates/workflows/shared/operations-header.ts:28

Create workflow header operations (name, run-name, on triggers)

Parameters

ctx

HeaderContext

Returns

PathOperationConfig[]