Rules
FP804 · orphan-contract
A contract file exists for a workflow or action that no longer exists.
| Code | Name | Category | Default severity |
|---|---|---|---|
FP804 | orphan-contract | Contracts | 🔴 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:
rules:
FP804: off
# or: orphan-contract: errorExplain it in the terminal:
flowpact explain FP804