Sha256: 87a1b299013a04a67c4cfa8cd2f9fcd40bc9c1fed9fdb45dab104f91c67851be
Contents?: true
Size: 484 Bytes
Versions: 29
Compression:
Stored size: 484 Bytes
Contents
require_relative "lib/compare_linker" require_relative "lib/compare_linker/webhook_payload" payload = CompareLinker::WebhookPayload.new(ENV["payload"]) exit if payload.action != "opened" compare_linker = CompareLinker.new(payload.repo_full_name, payload.pr_number) compare_linker.formatter = CompareLinker::Formatter::Markdown.new compare_links = compare_linker.make_compare_links.join("\n") puts compare_linker.add_comment(payload.repo_full_name, payload.pr_number, compare_links)
Version data entries
29 entries across 29 versions & 1 rubygems