diff --git a/src/webhooks.go b/src/webhooks.go index b4e1266..b7c82df 100644 --- a/src/webhooks.go +++ b/src/webhooks.go @@ -87,10 +87,11 @@ func handlePush(data []byte, msgChan chan string) { } commitDesc := strings.SplitN(commit.Message, "\n", 1)[0] msgChan <- fmt.Sprintf( - "[%s] commit %s created by %s: %s", + "[%s] commit %s created by %s (%s): %s", pushData.Repository.FullName, shortHash(commit.Hash), - commit.Author.Username, + commit.Author.Name, + commit.Author.Email, commitDesc, ) count++