ENGINEERING

Validate and sync README examples on package release

When a new package version publishes, re-runs every documented code example against it and, if all pass, pushes the verified README content to your ReadMe.com developer hub.

CategoryEngineering
Enginesim
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPackage release webhook with new versionHTTP webhook
  • ActionInstall released version, extract README code blocksShell
  • ActionRun all snippets and aggregate resultsShell
  • LogicAll examples pass? Branch on result
  • ActionPush validated README to ReadMe.com docs pageReadMeReadMe
  • OutputAlert release channel on any failureSlack

What it does

This workflow gates your public docs on a clean example run at release time. The moment a new version is published, it executes every fenced code block in the README against that exact version. Only when all examples pass does it publish the README to your ReadMe.com hosted documentation, guaranteeing the developer hub never ships a broken sample for a live release.

When to use it

Use it when your hosted docs must stay in lockstep with each published release and you want a hard gate preventing broken examples from reaching developers. Ideal for teams that maintain a ReadMe.com hub fed from a repo README.

How it works

  1. 1A release webhook from your registry triggers with the new version tag.
  2. 2A shell step installs that exact published version and extracts runnable code blocks.
  3. 3A shell step runs every snippet and aggregates results.
  4. 4A logic step branches on whether all examples passed.
  5. 5On full pass, a ReadMe step pushes the validated README content to the matching docs page.
  6. 6On any failure, a Slack message alerts the release channel and the sync is skipped.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect ShellRun sandboxed commands inside the workspace.
  3. 3
    Connect ReadMeAPI docs, changelog, auth.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.