mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Allow to set protected file patterns that can not be changed under no conditions (#10806)
Co-Authored-By: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -175,6 +175,7 @@ type ProtectBranchForm struct {
 | 
			
		||||
	BlockOnRejectedReviews   bool
 | 
			
		||||
	DismissStaleApprovals    bool
 | 
			
		||||
	RequireSignedCommits     bool
 | 
			
		||||
	ProtectedFilePatterns    string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Validate validates the fields
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user