diff options
author | Zettat123 <zettat123@gmail.com> | 2023-03-24 13:13:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 13:13:04 +0800 |
commit | 9e04627acaaa853e5269f98f53f2615077cfb028 (patch) | |
tree | 4953dfc594e35b6276f1cb7b3ab52bfefe7842f2 /services/actions | |
parent | 4acf0214b1bbee1430b753cd2ca45527d61555e9 (diff) | |
download | gitea-9e04627acaaa853e5269f98f53f2615077cfb028.tar.gz gitea-9e04627acaaa853e5269f98f53f2615077cfb028.zip |
Fix incorrect `HookEventType` of pull request review comments (#23650)
`HookEventType` of pull request review comments should be
`HookEventPullRequestReviewComment` but some event types are
`HookEventPullRequestComment` now.
Diffstat (limited to 'services/actions')
-rw-r--r-- | services/actions/notifier.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/actions/notifier.go b/services/actions/notifier.go index cdf9087fef..90eed83eff 100644 --- a/services/actions/notifier.go +++ b/services/actions/notifier.go @@ -264,7 +264,7 @@ func (n *actionsNotifier) NotifyPullRequestReview(ctx context.Context, pr *issue case issues_model.ReviewTypeApprove: reviewHookType = webhook_module.HookEventPullRequestReviewApproved case issues_model.ReviewTypeComment: - reviewHookType = webhook_module.HookEventPullRequestComment + reviewHookType = webhook_module.HookEventPullRequestReviewComment case issues_model.ReviewTypeReject: reviewHookType = webhook_module.HookEventPullRequestReviewRejected default: |