Skip to content

Commit 28a0f10

Browse files
authored
Update models/repo_generate.go
1 parent b5c7eaa commit 28a0f10

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)