The repository's existing tags use the style where the name is identical to the version name. The arduino/create-changelog action's tag-regex input value is currently configured for this tag style. That is correct for the previous tags, but all future tags will use the "v" prefix, as is required for best practices use of the project as a Go module dependency. This will result in the generated changelog for future releases containing the repository's commit history back to the last tag that uses the non-"v" prefix style of tag.
Setting the regex up to support both tag styles will avoid such an issue.
The repository's existing tags use the style where the name is identical to the version name. The
arduino/create-changelog
action'stag-regex
input value is currently configured for this tag style. That is correct for the previous tags, but all future tags will use the "v" prefix, as is required for best practices use of the project as a Go module dependency. This will result in the generated changelog for future releases containing the repository's commit history back to the last tag that uses the non-"v" prefix style of tag.Setting the regex up to support both tag styles will avoid such an issue.
Demo release using the updated workflow: https://github.com/per1234/mdns-discovery/releases/tag/v1.4.2