Rules
FP602 · nesting-depth
A chain of reusable workflow calls is deeper than the configured limit (`limits.nestingDepth`).
| Code | Name | Category | Default severity |
|---|---|---|---|
FP602 | nesting-depth | Graph structure | 🔴 error |
Why it matters
GitHub limits how deeply reusable workflows can be nested and fails the run when the limit is exceeded. Deep chains are also where values get lost between levels.
How to fix
Flatten the chain (call leaf workflows directly from a higher level). GitHub allows at most 10 levels; lower limits.nestingDepth to enforce a stricter internal limit.
Configure
Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:
rules:
FP602: off
# or: nesting-depth: errorExplain it in the terminal:
flowpact explain FP602