Skip to Content
flowpact

FP813 · impact-undeclared

No release impact is declared; flowpact reports the impact the changes require.

CodeNameCategoryDefault severityReported by
FP813impact-undeclaredContracts🔵 infoImpact mode

Why it matters

Without a declaration there is nothing to check against. The required impact is still useful when cutting a release.

How to fix

Declare the impact: a Conventional Commits pull request title (feat: …, fix!: …), a semver:* label, or --expect.

Example

# PR title: "Update the deploy workflow"   (no Conventional Commits type: nothing declared)

Accept one finding

When a finding is intended, accept it with a reason rather than turning the rule off. It is listed apart from the other findings, and comes back when the date passes (overrides):

.github/flowpact/flowpact.config.yml
overrides:
  - rule: FP813
    target: <the finding's symbol>
    reason: Why it is acceptable here, at least 10 characters.
    expires: YYYY-MM-DD   # optional

target is the symbol the finding is about; to list them:

flowpact lint --format json | jq -r '.findings[] | select(.code == "FP813") | .symbol'

* matches within a path segment and ** across segments, so one entry accepts every finding whose symbol matches: target: '**#inputs.app-id' is that input in every workflow and action.

An override counts only once it is on the base branch: impact mode reads the overrides and severities of its rules from the baseline's config, so a pull request cannot accept or switch off its own check. No ignore comment accepts its findings.

Change the severity

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:
  FP813: off
  # or: impact-undeclared: error

A severity counts only once it is on the base branch, as impact mode reads it from the baseline's config.

Explain it in the terminal:

flowpact explain FP813
  • FP810 impact-under-declared: The changes to published workflows or actions need a bigger release than the pull request declares.
  • Impact mode

On this page