flowpactworkflow contracts
Rules

FP804 · orphan-contract

A contract file exists for a workflow or action that no longer exists.

CodeNameCategoryDefault severity
FP804orphan-contractContracts🔴 error

Why it matters

If the workflow was removed or renamed, anything still calling it (including other repositories) breaks — the stale contract is the last record of that interface.

How to fix

Confirm nothing depends on the removed workflow, then run flowpact generate to delete the contract.

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:
  FP804: off
  # or: orphan-contract: error

Explain it in the terminal:

flowpact explain FP804

On this page