1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 13:37:20 +00:00

Move repofiles webhooks to notification (#8807)

This commit is contained in:
Lunny Xiao
2019-11-06 14:43:03 +08:00
committed by GitHub
parent 36b8c081f6
commit 8a84d82d53
5 changed files with 77 additions and 68 deletions

View File

@ -43,4 +43,6 @@ type Notifier interface {
NotifyDeleteRelease(doer *models.User, rel *models.Release)
NotifyPushCommits(pusher *models.User, repo *models.Repository, refName, oldCommitID, newCommitID string, commits *models.PushCommits)
NotifyCreateRef(doer *models.User, repo *models.Repository, refType, refFullName string)
NotifyDeleteRef(doer *models.User, repo *models.Repository, refType, refFullName string)
}