Skip to content

Commit dbf9a63

Browse files
committed
Merge branch 'template-branch-prot' of github.com:jolheiser/gitea into template-branch-prot
2 parents db43841 + 28a0f10 commit dbf9a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/repo_generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type GenerateRepoOptions struct {
3333

3434
// IsValid checks whether at least one option is chosen for generation
3535
func (gro GenerateRepoOptions) IsValid() bool {
36-
return gro.GitContent || gro.Topics || gro.GitHooks || gro.Webhooks || gro.Avatar || gro.IssueLabels || gro.BranchProtection // or other items as they are added
36+
return gro.GitContent || gro.Topics || gro.GitHooks || gro.Webhooks || gro.Avatar || gro.IssueLabels // or other items as they are added
3737
}
3838

3939
// GiteaTemplate holds information about a .gitea/template file

0 commit comments

Comments
 (0)