Skip to content

Commit 4b9786b

Browse files
bpetrilafriks
authored andcommitted
MS Teams webhook misses commit messages (#8225)
The current webhook just shows the amount of commits, but misses the actual commit description. While the code is actually there to include the description, it is just not included. Signed-off-by: Bjoern Petri <[email protected]>
1 parent aaf975b commit 4b9786b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/webhook_msteams.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ func getMSTeamsPushPayload(p *api.PushPayload) (*MSTeamsPayload, error) {
236236
ActivityTitle: p.Sender.FullName,
237237
ActivitySubtitle: p.Sender.UserName,
238238
ActivityImage: p.Sender.AvatarURL,
239+
Text: text,
239240
Facts: []MSTeamsFact{
240241
{
241242
Name: "Repository:",

0 commit comments

Comments
 (0)