changesets / action

682 stars 242 forks source link

Add customize PR branch name #370

Open cregourd opened 4 months ago

cregourd commented 4 months ago

As of previous PR #255, it's possible to trigger the Changeset Pull Request process from a branch other than baseBranch. Thanks for this, it's really useful 🙏

If two branches want to merge into baseBranch, the PR branch name will always be changeset-release/{{baseBranch}}. In this case, the latest commit will override the branch.

But sometimes we just want two different branches. For example, in a Git workflow where the release can come from the develop branch or the hotfixes branch.

It should be possible to do this workflow with this PR

schema

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 813d00488689d5f02e404bc301bd1685770246ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | @changesets/action | Patch |

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