diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-06 14:43:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 14:43:03 +0800 |
commit | 8a84d82d5341ff6572e7c77f5779e2583ed45c25 (patch) | |
tree | 8cd399ebff88f2e10a76a01c117834b25a0c699f /modules/notification/base/notifier.go | |
parent | 36b8c081f6b9b642bc068158b3a893d027d06ba8 (diff) | |
download | gitea-8a84d82d5341ff6572e7c77f5779e2583ed45c25.tar.gz gitea-8a84d82d5341ff6572e7c77f5779e2583ed45c25.zip |
Move repofiles webhooks to notification (#8807)
Diffstat (limited to 'modules/notification/base/notifier.go')
-rw-r--r-- | modules/notification/base/notifier.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/notification/base/notifier.go b/modules/notification/base/notifier.go index 286ebe5d69..72bf52c938 100644 --- a/modules/notification/base/notifier.go +++ b/modules/notification/base/notifier.go @@ -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) } |