Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 private string MakeOneJIRALineComment(MikesPullRequest pr)
 {
     return Constants.GitHubUrl + "/pulls/" + pr.Number + " (" + pr.ShortBranchName + ")";
 }