PB-579: Fix semver bump type from PR title #37
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If any commit of a PR had a bump type in its commit message, we could not overwrite it using the PR title/body of the PR. This issue has been discovered by this PR geoadmin/service-wmts#86 in which the https://github.com/geoadmin/github-tag-action has a bug an try to do a tag that already exist, and to work around this bug I tried to change the bump type from patch (set by a previous commit message) to minor but this did not work due to this bug.
IMPORTANT: https://github.com/geoadmin/github-tag-action bump type is taken by higher ranking, which means if any commit message inside a PR contains #major, you cannot force the bump type to minor or patch.