mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
webhooks: Use author's name to format Git push messages.
We now use the name of the author of a commit as opposed to the committer to format Git messages with multiple committers. Part of #3968. Follow-up to #4006.
This commit is contained in:
@@ -180,7 +180,7 @@ def get_push_tags_body(payload):
|
||||
def get_push_commits_body(payload):
|
||||
# type: (Dict[str, Any]) -> Text
|
||||
commits_data = [{
|
||||
'name': commit['committer']['username'],
|
||||
'name': commit['author']['username'],
|
||||
'sha': commit['id'],
|
||||
'url': commit['url'],
|
||||
'message': commit['message']
|
||||
|
||||
Reference in New Issue
Block a user