good grief

This commit is contained in:
Jeff Carr 2025-09-22 20:14:35 -05:00
parent 31db2f96f6
commit 5a54f9c0b2
1 changed files with 3 additions and 0 deletions

View File

@ -75,12 +75,15 @@ func checkNormalRepoState(repo *gitpb.Repo) error {
log.Info("ABNORMAL: master branch name was blank in", repo.GetFullPath())
}
if repo.GetMasterBranchName() == "" {
me.forge.VerifyBranchNames(repo)
err = log.Errorf("master branch name blank")
}
if repo.GetDevelBranchName() == "" {
me.forge.VerifyBranchNames(repo)
err = log.Errorf("devel branch name blank")
}
if repo.GetUserBranchName() == "" {
me.forge.VerifyBranchNames(repo)
err = log.Errorf("user branch name blank")
}
if repo.GetGoPath() == repo.GetNamespace() {