Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix webhook attachment text is not set in review comment (go-gitea#21763
) The `getPullRequestPayloadInfo` function is widely used in many webhook, it works well when PR is open or edit. But when we comment in PR review panel (not PR panel), the comment content is not set as `attachmentText`. This commit set comment content as `attachmentText` when PR review, so webhook could obtain this information via this function. Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: techknowlogick <[email protected]>
- Loading branch information