Rules
FP609 · callee-not-reusable
A job calls a local workflow that has no `on.workflow_call` trigger.
| Code | Name | Category | Default severity |
|---|---|---|---|
FP609 | callee-not-reusable | Graph structure | 🔴 error |
Why it matters
Only workflows with workflow_call can be called. GitHub rejects the caller ("is not a reusable workflow"), and none of the callee’s workflow_dispatch inputs count as a call interface.
How to fix
Add on: workflow_call: (with the inputs, secrets and outputs the callers need) to the called workflow, or call the right file.
Example
# deploy.yml
on:
workflow_dispatch:
inputs:
target: { type: string, required: true }Configure
Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:
rules:
FP609: off
# or: callee-not-reusable: errorExplain it in the terminal:
flowpact explain FP609