feat(ci): migrate release flow to release-please#185
Merged
Conversation
Closes #178. Replaces the tag-triggered \`release.yml\` (manual \`pnpm version:* && pnpm release\` cycle + softprops/action-gh-release@v3 publishing) with release-please-action v5.0.0, pinned to commit SHA 45996ed1f6d02564a971a2fa1b5860e934307cf7. How it works now: every push to main, release-please reads conventional commits since the last tag and opens/updates a long-lived "Release PR" that bumps package.json + .release-please-manifest.json and writes CHANGELOG.md. Merging that PR creates the v0.x.y tag and the GitHub Release in one step. Removed: - \`.github/workflows/release.yml\` (action-gh-release path) - \`version:patch\`, \`version:minor\`, \`version:major\`, \`release\`, \`changelog\` scripts from root package.json - \`conventional-changelog\` devDep (release-please owns the changelog) Added: - \`.github/workflows/release-please.yml\` — push + workflow_dispatch trigger, job-scoped \`contents: write\` + \`pull-requests: write\` - \`release-please-config.json\` — release-type: node, semver policy matches CLAUDE.md (bump-minor-pre-major: true for 0.x), include-v-in-tag preserves the existing \`v0.5.7\`-style tag format - \`.release-please-manifest.json\` — anchors current version at 0.5.7 Side benefits: - No more "verify softprops/action-gh-release@v3 on next tag" risk (#178) - Drops a devDep + dozens of transitive deps from pnpm-lock.yaml - Single-click releases instead of two-step manual flow Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #178. Replaces the tag-triggered
release.yml(manualpnpm version:* && pnpm releasecycle +softprops/action-gh-release@v3publishing) withrelease-please-action v5.0.0, pinned to commit SHA45996ed1f6d02564a971a2fa1b5860e934307cf7.How it works now
Every push to
main, release-please reads conventional commits since the last tag and opens/updates a long-lived Release PR that bumpspackage.json+.release-please-manifest.jsonand writesCHANGELOG.md. Merging that PR creates thev0.x.ytag and the GitHub Release in one step.Removed
.github/workflows/release.yml(action-gh-release path)version:patch,version:minor,version:major,release,changelogscripts from rootpackage.jsonconventional-changelogdevDep — release-please owns the changelog nowAdded
.github/workflows/release-please.yml— push + workflow_dispatch trigger, job-scopedcontents: write+pull-requests: write(no top-level escalation, follows the Scorecard pattern from fix(ci): tighten token permissions + add CodeQL SAST workflow #166)release-please-config.json—release-type: node, semver policy matches CLAUDE.md (bump-minor-pre-major: truefor 0.x),include-v-in-tag: truepreserves the existingv0.5.7-style tag format.release-please-manifest.json— anchors current version at0.5.7Side benefits
pnpm-lock.yamlTest plan
pnpm install,pnpm build,pnpm test(267 passing),pnpm typecheck,pnpm lintall greenfeat:commit, so the next version will be0.6.0perbump-minor-pre-major)v0.6.0+ a GitHub Release🤖 Generated with Claude Code