Open prenaissance opened 4 months ago
Latest commit: 4d1362a62ff467f5e555749eb3db3395231d61e6
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Closes https://github.com/changesets/action/issues/368
Change summary
This change adds a new action input
baseBranch
, which allows specifying the branch on which the PR will be opened on. This is useful for hotfixes. In my case, I trigger a release on merging to main, and this change would allow me to open a PR straight to main with the cherry-picked changes.Specifications
A new input,
baseBranch
, can be specified to open the PR onto that branch. If not specified, the behavior will be as before, the PR would be opened on the branch the action runs on.Example
Here's how running a hotfix workflow would look like:
The full workflow can be seen here https://github.com/prenaissance/changesets-test/blob/master/.github/workflows/changesets.yml