Open evansd opened 4 years ago
Yes, github-tag-action
considers only the first characters of commits.
I see that the conventional commits specification is that every commit must have a prefix, so I think the fix would be to make semantic-pull-requests
observe this specification. This has the advantage of consistency, and already being supported in the packages we're using.
However, I can also imagine there not being consensus on this so we should discuss!
I also note that the semantic-pull-requests is actually designed with this CI tool in mind, which is targetted at node apps but I've just noted can be configured for other setups. Given the release tool I implemented already had a pretty egregious bug I had to fix, that might be worth considering....
The semantic-pull-requests GitHub app has long been deprecated, so we're no longer using it here anyway.
But the original issue still stands, so I renamed the issue. The issue is with github-tag-action which still doesn't support PR titles, only the start of commit messages.
By pre-pending "fix:" to this PR title, the PR passed the semantic-pull-requests check.
However when merged it didn't then trigger a new release:
I think this is because the merge commit looks like this and doesn't contain "fix:" as its first characters:
Ideally the PR check and the action would agree about what constitutes an appropriately annotated PR.