Commit Context#
This is the context structure for each commit in the templates
Name |
Type |
Description |
---|---|---|
sha |
|
The full hex SHA of the commit. |
short_sha |
|
The first seven characters of the hex sha. |
commit_datetime |
|
The date and time of the commit with timezone offset. |
summary |
|
The first line of the commit message. |
body |
|
The commit message sans the first line. |
committer |
|
The name and email of the committer as |
authors |
|
A list of authors’ names and emails related to the commit. |
author_names |
|
A list of just author names, extracted from |
grouping |
|
The values to group this commit based on the |
metadata |
|
Metadata for this commit parsed from the commit message. Metadata is generated from Actions in a Pipeline. |
Commit metadata#
Name |
Type |
Availability |
Description |
---|---|---|---|
category |
|
This value is set using the first Action in the |
|
trailers |
|
The git trailers parsed out of the commit body. |
|
issue |
|
A list of issues parsed from the commit. |
|
has_breaking_change |
|
Indicates this commit has a breaking change. It doesn’t mean that there is a description of the breaking change. |
|
breaking_changes |
|
Description of breaking changes as parsed from the commit body. |
|
scope |
|
Zero or more scopes parsed from the commit summary. |