Skip to content

Handle commits without descriptions for changelogs

Yorick Peterse requested to merge changelog-commits-without-description into master

What does this MR do?

When processing commits to include in a changelog, we may encounter commits without a description (= they only have a subject). This results in Commit#description being nil, resulting in a NoMethodError when we try to extract a revert SHA from that description.

This commit fixes this by just not matching if the description is nil. This is fine since commits without a description are never included, due to a lack of a trailer tag.

This fixes #323998 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Yorick Peterse

Merge request reports

Loading