private async Task<PullRequest> MakePullRequest(MikesPullRequest highestBranchPR, GitHubWrapper gitHubWrapper, string targetBranch, string shortTargetBranchName) { var currentDescription = this.descriptionWithJiraLink; if (highestBranchPR != null) { currentDescription = "See #" + highestBranchPR.Number; } return await gitHubWrapper.CreatePullRequest(this.branch, this.prTitleHalfway, currentDescription, this.targetUsername, this.targetRepository, targetBranch, shortTargetBranchName); }
private string MakeOneJIRALineComment(MikesPullRequest pr) { return Constants.GitHubUrl + "/pulls/" + pr.Number + " (" + pr.ShortBranchName + ")"; }