We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5c7eaa commit 28a0f10Copy full SHA for 28a0f10
models/repo_generate.go
@@ -33,7 +33,7 @@ type GenerateRepoOptions struct {
33
34
// IsValid checks whether at least one option is chosen for generation
35
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
+ return gro.GitContent || gro.Topics || gro.GitHooks || gro.Webhooks || gro.Avatar || gro.IssueLabels // or other items as they are added
37
}
38
39
// GiteaTemplate holds information about a .gitea/template file
0 commit comments