logger.Warn("Failed to fix HEAD for %s/%s: %v",repo.OwnerName,repo.Name,err)
returnnil
}
numReposUpdated++
returnnil
})
iferr!=nil{
logger.Critical("Error when fixing repo HEADs: %v",err)
}
ifautofix{
logger.Info("Out of %d repos, HEADs for %d are now fixed and HEADS for %d are still broken",numRepos,numReposUpdated,numDefaultBranchesBroken+numHeadsBroken-numReposUpdated)