release-flow
Installation
SKILL.md
Release flow (develop → main, automated Release PR)
This skill drives releases for repos wired with the JarvusInnovations/infra-components
release actions. The whole model is a single long-lived Release PR from develop
into main; merging it publishes. Your job is to get that PR's title (version)
and body (release notes) right, then merge it on the user's go.
How the automation works
Three GitHub Actions, each triggered by a different event — you don't run them, you react to them:
| Workflow | Trigger | What it does |
|---|---|---|
release-prepare |
push to develop |
Opens the Release: vX.Y.Z PR into main and posts/refreshes a bot ## Changelog comment listing the commits since the last release with @author suffixes. The title is computed once, at PR creation, as last tag + patch increment — no commit analysis — and later pushes never recompute it (they only refresh the changelog comment). |
release-validate |
PR to main opened/edited/synced |
Gates the Release PR with exactly two checks: title matches ^Release: v\d+\.\d+\.\d+(-rc\.\d+)?$, and that tag doesn't already exist. The body is not checked. Re-runs every time you edit the PR. |
release-publish |
Release PR closed/merged | Cuts the tag and publishes (npm, etc.) at the version in the PR title, with the merged PR body verbatim as the release notes. Merging is the publish. |