flowpactworkflow contracts
Rules

FP608 · undefined-needs-job

A job lists a job under `needs:` that does not exist.

CodeNameCategoryDefault severity
FP608undefined-needs-jobGraph structure🔴 error

Why it matters

GitHub rejects the workflow when it is triggered.

How to fix

Fix the job id or remove the dependency.

Configure

Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:

.github/flowpact/flowpact.config.yml
rules:
  FP608: off
  # or: undefined-needs-job: error

Explain it in the terminal:

flowpact explain FP608

On this page