1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Move pull webhook to notification (#8805)

* Move pull webhook to notification

* fix fmt
This commit is contained in:
Lunny Xiao
2019-11-05 19:04:08 +08:00
committed by GitHub
parent 05e7715c4b
commit aaeef295bb
7 changed files with 84 additions and 71 deletions

View File

@ -30,6 +30,7 @@ type Notifier interface {
NotifyNewPullRequest(*models.PullRequest)
NotifyMergePullRequest(*models.PullRequest, *models.User, *git.Repository)
NotifyPullRequestSynchronized(doer *models.User, pr *models.PullRequest)
NotifyPullRequestReview(*models.PullRequest, *models.Review, *models.Comment)
NotifyCreateIssueComment(*models.User, *models.Repository,