mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Move actions to notification (#8785)
This commit is contained in:
		@@ -7,6 +7,7 @@ package notification
 | 
			
		||||
import (
 | 
			
		||||
	"code.gitea.io/gitea/models"
 | 
			
		||||
	"code.gitea.io/gitea/modules/git"
 | 
			
		||||
	"code.gitea.io/gitea/modules/notification/action"
 | 
			
		||||
	"code.gitea.io/gitea/modules/notification/base"
 | 
			
		||||
	"code.gitea.io/gitea/modules/notification/indexer"
 | 
			
		||||
	"code.gitea.io/gitea/modules/notification/mail"
 | 
			
		||||
@@ -33,6 +34,7 @@ func NewContext() {
 | 
			
		||||
	}
 | 
			
		||||
	RegisterNotifier(indexer.NewNotifier())
 | 
			
		||||
	RegisterNotifier(webhook.NewNotifier())
 | 
			
		||||
	RegisterNotifier(action.NewNotifier())
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NotifyCreateIssueComment notifies issue comment related message to notifiers
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user