flowpactworkflow contracts
Rules

FP601 · call-cycle

Reusable workflows call each other in a cycle.

CodeNameCategoryDefault severity
FP601call-cycleGraph structure🔴 error

Why it matters

GitHub rejects recursive reusable workflow calls when the run starts.

How to fix

Break the cycle by extracting the shared jobs into a separate workflow that neither side calls back.

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:
  FP601: off
  # or: call-cycle: error

Explain it in the terminal:

flowpact explain FP601

On this page