if(string.IsNullOrEmpty(repoName))return"Repository name cannot be empty.";
// regex "The repository name can only contain ASCII letters, digits, and the characters ., -, and _."
if(!System.Text.RegularExpressions.Regex.IsMatch(repoName,@"^[a-zA-Z0-9._-]+$"))return"Repository name can only contain letters, digits, ., -, and _.";
// check if repo already exists in user's account
vartoken=GitHubTokenStore.LoadToken();
if(string.IsNullOrWhiteSpace(token))return"No GitHub token found. Please set a token first.";