templates/workflows/shared/operations-gate
Variables
GATE_COMMENT
const GATE_COMMENT: "\n=============================================================================\n GATE (Managed by Pipecraft)\n=============================================================================\n Ensures prerequisite jobs pass before tag/promote/release run.\n\n ✅ CUSTOMIZABLE (preserved on regeneration): add your test/build jobs to 'needs'.\n The gate checks every job in 'needs' automatically (via needs.*.result), so you\n do NOT edit the 'if' or the steps.\n Example: needs: [changes, version, test-myapp, build-myapp]\n\n 🔒 MANAGED (re-asserted on every 'pipecraft generate'): 'if: always()' and the\n fail-on-failure step. This keeps the gate from being silently disabled. Run\n 'pipecraft generate --force' to reset the whole gate to template defaults.\n"
Defined in: templates/workflows/shared/operations-gate.ts:4
Functions
ensureGateJob()
function ensureGateJob(doc): void
Defined in: templates/workflows/shared/operations-gate.ts:133
Parameters
doc
Parsed
Returns
void