debian-mirror-gitlab/danger/Dangerfile-bundle_size

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
304 B
Text
Raw Permalink Normal View History

2020-06-23 00:09:42 +05:30
# frozen_string_literal: true
2022-06-21 17:19:12 +05:30
# 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.
2020-06-23 00:09:42 +05:30
2022-10-11 01:57:18 +05:30
comment = `cat ./bundle-size-review/comparison.md`
2020-06-23 00:09:42 +05:30
2021-02-22 17:27:13 +05:30
unless comment.strip.empty?
markdown(<<~MARKDOWN)
2020-06-23 00:09:42 +05:30
#{comment}
2021-02-22 17:27:13 +05:30
MARKDOWN
end