flowpactworkflow contracts
Rules

FP108 · undefined-input-ref

An expression reads `inputs.<name>` that the workflow or action does not declare.

CodeNameCategoryDefault severity
FP108undefined-input-refInputs🔴 error

Why it matters

Undeclared inputs always evaluate to an empty value. This is usually a typo or a rename that missed a usage.

How to fix

Fix the name, or declare the input under on.workflow_call.inputs / on.workflow_dispatch.inputs / inputs:.

Example

run: ./build.sh ${{ inputs.tagret }}

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:
  FP108: off
  # or: undefined-input-ref: error

Explain it in the terminal:

flowpact explain FP108

On this page