mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		@@ -19,13 +19,6 @@ import (
 | 
			
		||||
	"github.com/unknwon/com"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	// ProtectedBranchRepoID protected Repo ID
 | 
			
		||||
	ProtectedBranchRepoID = "GITEA_REPO_ID"
 | 
			
		||||
	// ProtectedBranchPRID protected Repo PR ID
 | 
			
		||||
	ProtectedBranchPRID = "GITEA_PR_ID"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// ProtectedBranch struct
 | 
			
		||||
type ProtectedBranch struct {
 | 
			
		||||
	ID                        int64  `xorm:"pk autoincr"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user