Repository navigation
Skip future-major milestones when milestoning merged PRs - #327
Conversation
After a 3.0.0 release, an open 4.0.0 milestone was the lowest open one and got picked. Now only open milestones above the latest released (closed) one and within its major are considered, and new milestones are derived from the latest release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UWTd5oF3kcWP2VKmjcdCWK
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
After a
3.0.0release, the milestone workflow put merged PRs into4.0.0instead of3.0.1. The script only ever creates patch bumps, so the4.0.0must have been a pre-existing open milestone that became the lowest open one once3.0.0was closed.Changes to
reusable-milestone-merged-prs.yml:4.0.0) and stale older ones (e.g. a leftover2.12.1) are skipped.3.0.0→3.0.1).README updated accordingly.
Tested the script locally with mocked API responses:
Generated by Claude Code
Summary by CodeRabbit