lib/release_tools/cherry_pick/stable_notifier.rb
# Post a summary comment to the target with a list of picked and unpicked
# merge requests
#
# picked   - Array of successful Results
# unpicked - Array of failure Results
Post a summary comment to the target with a list of picked and unpicked
merge requests

picked   - Array of successful Results
unpicked - Array of failure Results
Post a summary comment to the target with a list of picked and unpicked merge requests picked - Array of successful Results unpicked - Array of failure Results
def summary(picked, unpicked)
        return if version.monthly?
        return if picked.empty? && unpicked.empty?
        message = []
        if picked.any?
          message << <<~MSG
            Successfully picked the following merge requests:
            #{markdown_list(picked.collect(&:url))}
          MSG
        end
        if unpicked.any?
          message << <<~MSG
            Failed to pick the following merge requests:
            #{markdown_list(unpicked.collect(&:url))}
          MSG
        end
        create_merge_request_comment(target, message.join("\n"))
      end
def summary ( picked , unpicked ) return if version . monthly? return if picked . empty? && unpicked . empty? message = [ ] if picked . any? message << <<~MSG 
            Successfully picked the following merge requests:

             #{ markdown_list ( picked . collect ( & :url ) ) } MSG end if unpicked . any? message << <<~MSG 
            Failed to pick the following merge requests:

             #{ markdown_list ( unpicked . collect ( & :url ) ) } MSG end create_merge_request_comment ( target , message . join ( "\n" ) ) end
Post a summary comment to the target with a list of picked and unpicked
merge requests
Post a summary comment to the target with a list of picked and unpicked merge requests
picked
unpicked