Github PR title as input into semantic version instead of commit #2362
-
New plugin motivationGithub does some weird stuff when merging PRs with squash merge (and can be annoying when the pr is a single commit). I would like to use semantic-release but use the PR title instead of the commit message. Third-party documentationWe'd need to pull done all the merged pull requests in order to get the "commits". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
semantic-release does not know anything about github PRs at the point when it analyzes commits. while i understand the squash complexities you are referring to, that is out of scope of the details that semantic-release can help you with. the PR title is only used as a suggestion when squashing and you always have the option to update it. the best i can recommend is to be extra careful about the message before confirming the squash (or use a normal merge instead, so the details of the individual commits are available to semantic-release). |
Beta Was this translation helpful? Give feedback.
semantic-release does not know anything about github PRs at the point when it analyzes commits. while i understand the squash complexities you are referring to, that is out of scope of the details that semantic-release can help you with.
the PR title is only used as a suggestion when squashing and you always have the option to update it. the best i can recommend is to be extra careful about the message before confirming the squash (or use a normal merge instead, so the details of the individual commits are available to semantic-release).