flowpactworkflow contracts
Rules

FP405 · unused-matrix-shape

A `matrixShapes` entry in the config does not match a job with a runtime-computed matrix.

CodeNameCategoryDefault severity
FP405unused-matrix-shapeMatrix🟡 warning

Why it matters

A mistyped workflow path or job id means the shape is silently ignored and the matrix stays unverified.

How to fix

Use \<workflow path\>#\<job id\> exactly as in the repository (e.g. .github/workflows/test.yml#test), or remove the entry.

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:
  FP405: off
  # or: unused-matrix-shape: error

Explain it in the terminal:

flowpact explain FP405

On this page