We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db43841 + 28a0f10 commit dbf9a63Copy full SHA for dbf9a63
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