DOCUMENT OPS

Block PRs when the OpenAPI spec drifts from the README

On every pull request that touches your OpenAPI spec, diffs the documented endpoints against your ReadMe docs and posts a blocking check that fails when routes are added…

CategoryDocument Ops
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPR opened or updated touching openapi.yamlGitHubGitHub
  • ActionFetch changed spec from PR headGitHubGitHub
  • ActionPull current documented endpoints from ReadMeReadMeReadMe
  • LogicDiff spec endpoints against documented set
  • OutputPost pass/fail commit status on the PRGitHubGitHub

What it does

Guards your developer docs at the moment code changes. When a pull request modifies your `openapi.yaml`, this workflow compares the spec's endpoint set against what your ReadMe project currently documents and reports a pass/fail commit status so undocumented API changes never merge silently.

When to use it

Use it when your team ships API changes faster than docs get updated and you want documentation freshness enforced in CI rather than caught by an angry customer. Best for teams whose source of truth is an OpenAPI file and whose public docs live in ReadMe.

How it works

  1. 1A GitHub pull_request event fires when the PR touches the spec file.
  2. 2The workflow fetches the changed OpenAPI spec from the PR head and the current endpoint inventory from ReadMe.
  3. 3A logic step computes the set difference — endpoints added, removed, or with changed methods that have no matching ReadMe page edit.
  4. 4If drift is found, it posts a failing GitHub commit status with the offending paths; otherwise it posts a passing status.
  5. 5The check appears inline on the PR, blocking merge until docs catch up.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect ReadMeAPI docs, changelog, auth.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.