Skip to content

fix: match the start of version title instead of full string#582

Open
mihkeleidast wants to merge 1 commit intochangesets:mainfrom
mihkeleidast:fix-adjusted-pr-title-matching
Open

fix: match the start of version title instead of full string#582
mihkeleidast wants to merge 1 commit intochangesets:mainfrom
mihkeleidast:fix-adjusted-pr-title-matching

Conversation

@mihkeleidast
Copy link

If the version titles are edited by other means, e.g. by an external script that adds dates to the end of it (common need, see changesets/changesets#109 for example), the action currently fails to get the correct changelog entry as it tries to match the entire version heading string.

By changing it to match the start only, it discards the "extras" after the version itself and can successfully get the correct changelog entry.

@changeset-bot
Copy link

changeset-bot bot commented Feb 27, 2026

🦋 Changeset detected

Latest commit: 6d792e1

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant