mirror of
https://github.com/go-gitea/gitea
synced 2025-08-10 11:38:20 +00:00
Backport #23650 by @Zettat123 `HookEventType` of pull request review comments should be `HookEventPullRequestReviewComment` but some event types are `HookEventPullRequestComment` now. Co-authored-by: Zettat123 <zettat123@gmail.com>
This commit is contained in:
@@ -223,7 +223,7 @@ func (m *MSTeamsPayload) Review(p *api.PullRequestPayload, event webhook_module.
|
||||
color = greenColor
|
||||
case webhook_module.HookEventPullRequestReviewRejected:
|
||||
color = redColor
|
||||
case webhook_module.HookEventPullRequestComment:
|
||||
case webhook_module.HookEventPullRequestReviewComment:
|
||||
color = greyColor
|
||||
default:
|
||||
color = yellowColor
|
||||
|
Reference in New Issue
Block a user