fix(typescript-service-release): notify only on major (breaking) releases#84
fix(typescript-service-release): notify only on major (breaking) releases#84Yan Xue (yanxue06) wants to merge 2 commits into
Conversation
…ases The notify job fired on every real release (major | minor | patch). Per intent, release emails should only go out for breaking changes, so gate the job on release_type == 'major'. Minor/patch releases now skip the notify job cleanly. Updates the notify-on-release input description to match. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🧰 Additional context used🧠 Learnings (4)📚 Learning: 2026-04-05T00:07:12.194ZApplied to files:
📚 Learning: 2026-04-27T01:30:22.893ZApplied to files:
📚 Learning: 2026-04-27T01:30:22.893ZApplied to files:
📚 Learning: 2026-05-21T23:14:29.897ZApplied to files:
🔇 Additional comments (3)
📝 WalkthroughWalkthroughThe workflow now documents and enforces notify-only-for-major releases: the ChangesRelease Notification Restriction
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
📚 Skills documentation may need an updateThis PR introduces changes that might not be reflected in the skills documentation. Reason:
|
📄 README may need an updateThis PR introduces changes that might not be reflected in Reason:
|
What
Gate the post-release
notifyjob (the email-monkey release-notification pipeline) so it fires only on major / breaking releases.Why
The notify job was gating on
["major","minor","patch"]— i.e. it sent a release email on every real release. The intent is to notify only on breaking changes, so minor (feature) and patch releases now skip the job cleanly.Change
.github/workflows/typescript-service-release.yaml:notify-on-releaseinput description to reflect major-only behavior.github.repository == 'photon-hq/spectrum-ts') andnotify-on-releaseopt-out are unchanged.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.Summary by CodeRabbit