gitlab-org--gitlab-foss/danger/Dangerfile-bundle_size

10 lines
304 B
Text

# frozen_string_literal: true
# This file isn't named "Dangerfile" so that it's not imported by default since it's only meant to be run in the `bundle-size-review` job.
comment = `cat ./bundle-size-review/comparison.md`
unless comment.strip.empty?
markdown(<<~MARKDOWN)
#{comment}
MARKDOWN
end