fix(ci): preserve release PR title in publish-release job#7850
fix(ci): preserve release PR title in publish-release job#7850paulbalaji merged 1 commit intomainfrom
Conversation
Both prepare-release and publish-release run changesets/action with version:prepare, which regenerates version.ts. When publish-release updates the PR without specifying title, it reverts to default "Version Packages" instead of "chore: release npm packages". Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
📝 WalkthroughWalkthroughThis change adds title parameters to the changesets/action@v1 steps in both the prepare-release and publish-release jobs within the GitHub Actions release workflow, setting the title to 'chore: release npm packages' for consistent changelog entries. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7850 +/- ##
=======================================
Coverage 77.02% 77.02%
=======================================
Files 117 117
Lines 2651 2651
Branches 244 244
=======================================
Hits 2042 2042
Misses 593 593
Partials 16 16
🚀 New features to boost your workflow:
|
Summary
title: 'chore: release npm packages'to publish-release job's changesets actionProblem
The release PR title was reverting from "chore: release npm packages" back to "Version Packages" (see #7785).
Root cause: Both
prepare-releaseandpublish-releasejobs runchangesets/actionwithversion: pnpm version:prepare. Theversion:preparescript includesturbo run version:updatewhich regeneratestypescript/cli/src/version.tsunconditionally.When
publish-releaseruns:main(with old version in version.ts)titleparameter → reverts to default "Version Packages"Fix
Add
titleparameter topublish-releasejob so it preserves the correct PR title.🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.