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
Node version for the pipeline (from config.runtime, or the existing file). Falls back to PipeCraft defaults when not provided.
nodeVersionFromConfig?
optional nodeVersionFromConfig: boolean;
Defined in: templates/workflows/shared/operations-header.ts:28
When true, nodeVersion came from config.runtime and is authoritative: regeneration overwrites env.NODE_VERSION instead of preserving the existing value. When false/undefined the existing value is preserved.
pnpmVersion?
optional pnpmVersion: string;
Defined in: templates/workflows/shared/operations-header.ts:22
pnpm version for the pipeline (from config.runtime, or the existing file). Falls back to PipeCraft defaults when not provided.
pnpmVersionFromConfig?
optional pnpmVersionFromConfig: boolean;
Defined in: templates/workflows/shared/operations-header.ts:30
As nodeVersionFromConfig, for env.PNPM_VERSION.
Functions
createHeaderOperations()
function createHeaderOperations(ctx): PathOperationConfig[];
Defined in: templates/workflows/shared/operations-header.ts:36
Create workflow header operations (name, run-name, on triggers)