-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back "fix: skip PR creation if no prerelease changesets exist"" #11941
Add back "fix: skip PR creation if no prerelease changesets exist"" #11941
Conversation
|
size-limit report 📦
|
I'm still noodling on the best way to prevent the issue this was attempting to fix, but I'm convinced this is not the way :D So I think we can close this PR for now, or re-revert it :D The scenario that happened in March:
In practice, we should cut prereleases after we've released any pending patch versions from main because it vastly simplifies things. We could automate this by fetching the list of changesets on main and x-referencing it with the changesets on the prerelease branch, and only doing a |
And we don't need to make any changes right now - with this change back in place, it only blocks the first Version Packages (alpha) when the |
Oops pulled the trigger too soon 😂
100% this. I'm ok with leaving this as a practice rather than trying to automate this for now.
Does this happen only if we merge Regardless, thanks for the context here! That is useful 🙂 |
Correct, it only happens if we merge |
Ok great! If we ever find it becoming a problem because we keep forgetting, we can always add automation later. Thanks so much! |
Reverts #11939
Adds back the logic there before. I believe the check for no changesets is preventing any new prerelease PRs from getting created if we haven't yet done a prerelease. We'll need to figure out how best to work around this while ensuring we aren't opening prerelease PRs for changes merged to
main
(which I believe is what this change fixed).