mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Support triggering workflows by wiki related events (#24119)
This PR is to support triggering workflows by wiki related events like creating, editing or deleting wiki pages. In GitHub, this event is called [gollum](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#gollum)
This commit is contained in:
		@@ -119,8 +119,6 @@ func detectMatched(commit *git.Commit, triggedEvent webhook_module.HookEventType
 | 
			
		||||
		webhook_module.HookEventCreate,
 | 
			
		||||
		webhook_module.HookEventDelete,
 | 
			
		||||
		webhook_module.HookEventFork,
 | 
			
		||||
		// FIXME: `wiki` event should match `gollum` event
 | 
			
		||||
		// See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#gollum
 | 
			
		||||
		webhook_module.HookEventWiki:
 | 
			
		||||
		if len(evt.Acts()) != 0 {
 | 
			
		||||
			log.Warn("Ignore unsupported %s event arguments %v", triggedEvent, evt.Acts())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user