Rules
FP202 · unknown-secret
A caller passes a secret the reusable workflow does not declare.
| Code | Name | Category | Default severity |
|---|---|---|---|
FP202 | unknown-secret | Secrets | 🔴 error |
Why it matters
GitHub rejects the call ("Invalid secret … is not defined in the referenced workflow").
How to fix
Declare the secret under on.workflow_call.secrets in the callee, fix the name, or remove it.
Configure
Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:
rules:
FP202: off
# or: unknown-secret: errorExplain it in the terminal:
flowpact explain FP202