flowpactworkflow contracts
Rules

FP303 · unused-output

A job, workflow or action output is declared but no consumer reads it.

CodeNameCategoryDefault severity
FP303unused-outputOutputs🟡 warning

Why it matters

Unused outputs suggest a broken hand-off: either the consumer reads a different name, or the output is dead code.

How to fix

Remove the output, or make the intended consumer read it.

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:
  FP303: off
  # or: unused-output: error

Explain it in the terminal:

flowpact explain FP303

On this page