You've already forked woodpecker
							
							
				mirror of
				https://github.com/woodpecker-ci/woodpecker.git
				synced 2025-10-30 23:27:39 +02:00 
			
		
		
		
	Do not exclude repo owner from gated rule (#641)
This commit is contained in:
		| @@ -213,7 +213,7 @@ func PostHook(c *gin.Context) { | ||||
| 	build.Status = model.StatusPending | ||||
|  | ||||
| 	// TODO(336) extend gated feature with an allow/block List | ||||
| 	if repo.IsGated && build.Sender != repoUser.Login { | ||||
| 	if repo.IsGated { | ||||
| 		build.Status = model.StatusBlocked | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user