summaryrefslogtreecommitdiffstats
path: root/modules/webhook/general.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webhook/general.go')
-rw-r--r--modules/webhook/general.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/webhook/general.go b/modules/webhook/general.go
index bc9a10b529..ec247a2410 100644
--- a/modules/webhook/general.go
+++ b/modules/webhook/general.go
@@ -119,6 +119,8 @@ func getPullRequestPayloadInfo(p *api.PullRequestPayload, linkFormatter linkForm
linkFormatter(mileStoneLink, p.PullRequest.Milestone.Title), titleLink)
case api.HookIssueDemilestoned:
text = fmt.Sprintf("[%s] Pull request milestone cleared: %s", repoLink, titleLink)
+ case api.HookIssueReviewed:
+ text = fmt.Sprintf("[%s] Pull request reviewed: %s", repoLink, titleLink)
}
if withSender {
text += fmt.Sprintf(" by %s", linkFormatter(setting.AppURL+p.Sender.UserName, p.Sender.UserName))