Skip to Content
flowpact

Introduction

Change shared workflows and actions without breaking the repositories that use them.

flowpact checks both sides of a reusable workflow or action: what it declares, and what its callers pass and read.

  • You publish one: each pull request is graded major, minor, patch or none against what callers use (contracts, impact mode).
  • You call one: each call is checked against the version it targets, and each version bump before you take it (remote interfaces).
  • Inside a repository: every value is followed across workflows, actions and matrix combinations. GitHub turns a missing one into an empty string and a green run; 59 rules report where.

It runs in your editor, your terminal and on every pull request. It reads your YAML and runs nothing from it, needs no config, and sends no telemetry.

Is this for me?

flowpact earns its place once workflows call each other, or other repositories call yours:

  • you publish reusable workflows or actions that other repositories call, and must not break them;
  • you call workflows and actions in other repositories, and Renovate or Dependabot move them to new versions;
  • reusable workflows and composite actions pass values down through several levels, and outputs back up;
  • a matrix with include entries feeds a reusable workflow, and every leg must get every value.

A few standalone workflows with no calls between them? actionlint alone may be enough. Otherwise, use flowpact next to actionlint and zizmor: see flowpact and other tools.

Try it

Run it at the root of a repository; there is nothing to configure:

npx flowpact lint

When your workflows call workflows or actions in other repositories, record their interfaces once, and those calls are checked too:

npx flowpact remotes update   # writes .github/flowpact/remotes.lock.yaml: commit it
npx flowpact lint

The Quickstart explains the output.

I want to…

For AI assistants: llms.txt lists every page as Markdown, and llms-full.txt holds them all in one file.

On this page