lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.13.0 vs lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.14.0
- old
+ new
@@ -1,8 +1,9 @@
require "circleci/bundle/update/pr/version"
require "octokit"
require "compare_linker"
+require "circleci/bundle/update/pr/note"
module Circleci
module Bundle
module Update
module Pr
@@ -122,9 +123,18 @@
#{compare_linker.make_compare_links.to_a.join("\n")}
Powered by [circleci-bundle-update-pr](https://rubygems.org/gems/circleci-bundle-update-pr)
EOB
+
+ if Note.exist?
+ body << <<-EOB
+
+---
+
+#{Note.read}
+ EOB
+ end
client.update_pull_request(repo_full_name, pr_number, body: body)
end
private_class_method :update_pull_request_body