private void AppendSection(SemanticReleaseNotes releaseNotes, IReadOnlyCollection <PullRequestDto> pullRequests, string sectionDescription)
        {
            if (!pullRequests.Any())
            {
                return;
            }
            var section = new SemanticReleaseSection {
                Name = sectionDescription
            };

            AppendItems(section, pullRequests);
            releaseNotes.Sections.Add(section);
        }
 private void AppendItems(SemanticReleaseSection section, IEnumerable <PullRequestDto> pullRequests)
 {
     foreach (var pullRequest in pullRequests)
     {
         var item = new SemanticReleaseItem
         {
             Summary = new SemanticReleaseItemSummary()
             {
                 Title     = pullRequest.Title,
                 Author    = pullRequest.Author,
                 AuthorUrl = pullRequest.AuthorUrl,
                 CreatedAt = pullRequest.CreatedAt,
                 MergedAt  = pullRequest.MergedAt,
                 Number    = pullRequest.Number,
                 Url       = pullRequest.Url,
                 Highlight = pullRequest.Highlighted(_programArgs.ReleaseNoteHighlightlLabels)
             },
             Categories = pullRequest.Categories(_programArgs.ReleaseNoteCategoryPrefix, _categoryDescriptions)
         };
         section.Items.Add(item);
     }
 }