mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
webhooks: Add body to PR Review Event message for GitHub Integration.
This commit passes the body of the PR Review as the message to the helper function that generates the message to be sent by the GitHub Integration. Previously when a PR Review was done the message sent would just include the link of the review but the message didn't include the body the review. After this commit, the message also includes the body of the review. Fixes #24676
This commit is contained in:
@@ -490,6 +490,7 @@ def get_pull_request_review_body(helper: Helper) -> str:
|
||||
url=payload["review"]["html_url"].tame(check_string),
|
||||
type="PR review",
|
||||
title=title if include_title else None,
|
||||
message=payload["review"]["body"].tame(check_string),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user