feat: add the pnpm/release action - #1
Conversation
A composite GitHub Action that automates releases with pnpm's native versioning (`pnpm change` / `pnpm version`): it maintains a release PR while change intents are pending, and publishes — tagging and drafting GitHub releases — once that PR is merged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 24 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoAdd pnpm/release composite action for pnpm-native workspace releases
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo
1.
|
- Treat the `version`/`publish` inputs as full command lines instead of prepending `pnpm`, which produced `pnpm pnpm version …` and failed every run. `--filter` is appended only when the command is `pnpm`. - Require `GITHUB_TOKEN` only when `create-github-releases` is enabled, so a publish-only run works without it (least privilege). - Use `pnpm/setup` (installs pnpm + Node) in the example instead of `pnpm/action-setup` + `actions/setup-node`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Addressed the review in c8e6890: Bug 1 — Bug 2 — token required in publish-only mode (Qodo). Confirmed and fixed. Also: switched the example workflow to CodeRabbit was rate-limited and didn't review — I'll re-request it once the window resets. Written by an agent (Claude Code, claude-opus-4-8). |
Summary
Initial implementation of
pnpm/release— a GitHub Action that automates releases for any pnpm workspace using pnpm's native versioning (pnpm change/pnpm version), the built-in replacement for@changesets/cli. It is topnpm versionwhatchangesets/actionis to@changesets/cli.On each push to the release branch it runs in one of two modes:
pnpm version -r, commits, and opens/force-updates a single release PR.Design notes
gh/pnpm/npm). Nodist/to build or keep in sync.npm view name@version(404 ⇒ unpublished), so a re-run resumes a partial release instead of double-publishing — the same gate pnpm/pnpm's own release workflow uses.filterinput threads a pnpm--filterthrough both the version and publish commands; the ledger keeps the un-selected packages' intents pending for a later release.release-filterrestricts which published packages get a git tag + release (orcreate-github-releases: falsefor none), so a workspace that republishes hundreds of internal packages doesn't flood the ref namespace.Not yet done
v0.See
README.mdfor inputs/outputs andexamples/release.ymlfor a drop-in consumer workflow.Written by an agent (Claude Code, claude-opus-4-8).