generate_changelog.actions.metadata.ParseConventionalCommit
ParseConventionalCommit#
- class generate_changelog.actions.metadata.ParseConventionalCommit[source]#
Parse a line of text using the conventional commit syntax.
The metadata will contain
commit_type
, a string andscopes
, an empty list or a list of strings.If a breaking change is indicated (with the
!
), metadata will also containhas_breaking_change
set toTrue
.The description is returned for further processing.
If the summary does not match a conventional commit, the whole line is returned.