returnfmt.Errorf("invalid registration URL: %w, it should be the full URL of where you want to register your scale set, e.g. 'https://github.com/org/repo'",err)
}
appError:=c.GitHubApp.Validate()
ifc.Token==""&&appError!=nil{
returnfmt.Errorf("no credentials provided: either GitHub App (client id, installation id and private key) (recommended) or a Personal Access Token are required")
}
ifc.ScaleSetName==""{
returnfmt.Errorf("scale set name is required")
}
ifc.MaxRunners<c.MinRunners{
returnfmt.Errorf("max runners cannot be less than min-runners")