You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GH merge UI allows renaming commits when merging PRs via squash or creating a merge commit. The default commit message for a multi commit PR that is squashed is the title of the PR, which means while the commits in the PR may pass commitlint the squashed commit message may not.
That is generally not an issue for squashes as it doesn't trigger a new semantic release.
For merge commits, however, the default message can often be less than ideal ("Merge #NUMBER from /long/branch-name/without-much-meaning"). If that commit message is changed and doesn't follow the merge commit patterns we can get into a very sticky situation where a new release is created but commitlint has failed. This then leads to a complex cleanup process when trying to amend the commit message, as the old commit has already been tagged so semantic release stops making releases for any new merges to the branch.
The text was updated successfully, but these errors were encountered:
The GH merge UI allows renaming commits when merging PRs via squash or creating a merge commit. The default commit message for a multi commit PR that is squashed is the title of the PR, which means while the commits in the PR may pass commitlint the squashed commit message may not.
That is generally not an issue for squashes as it doesn't trigger a new semantic release.
For merge commits, however, the default message can often be less than ideal ("Merge #NUMBER from /long/branch-name/without-much-meaning"). If that commit message is changed and doesn't follow the merge commit patterns we can get into a very sticky situation where a new release is created but commitlint has failed. This then leads to a complex cleanup process when trying to amend the commit message, as the old commit has already been tagged so semantic release stops making releases for any new merges to the branch.
The text was updated successfully, but these errors were encountered: