Method: Gitlab::Triage::Action::CommentOnSummary#act

Defined in:
lib/gitlab/triage/action/comment_on_summary.rb

#actObject



37
38
39
40
41
42
43
# File 'lib/gitlab/triage/action/comment_on_summary.rb', line 37

def act
  policy.resources.each do |resource|
    comment = build_comment(resource).strip

    perform(comment) unless comment.empty?
  end
end