flowpact
Rules

FP104 · unused-input

An input is declared but never read anywhere in the workflow or action.

CodeNameCategoryDefault severity
FP104unused-inputInputs🟡 warning

Why it matters

Dead inputs accumulate in large interfaces: callers keep computing and passing values that go nowhere, and readers assume a knob works when it does not.

How to fix

Remove the input (and the callers’ bindings), or wire it to where it was meant to be used.

Scope

Not reported in generated files, which are not edited by hand.

Example

on:
  workflow_call:
    inputs:
      legacy-flag: { type: boolean }   # never referenced

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:
  FP104: off
  # or: unused-input: error

Explain it in the terminal:

flowpact explain FP104

On this page