lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.1.0 vs lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.1.1
- old
+ new
@@ -35,10 +35,10 @@
system("git push origin #{branch}")
end
private_class_method :create_branch
def self.create_pull_request(repo_full_name, branch, now)
- title = "bundle update at #{now.strftime('%Y-%m-%d %H:%M:%S')}"
+ title = "bundle update at #{now.strftime('%Y-%m-%d %H:%M:%S %Z')}"
body = "auto generated by [CircleCI of #{ENV['CIRCLE_PROJECT_REPONAME']}](https://circleci.com/gh/#{repo_full_name})"
client = Octokit::Client.new(access_token: ENV["GITHUB_ACCESS_TOKEN"])
client.create_pull_request(repo_full_name, "master", branch, title, body)
end
private_class_method :create_pull_request