Skip to content

Commit

Permalink
Merge pull request #130 from simplybusiness/deploy-statuses-not-turni…
Browse files Browse the repository at this point in the history
…ng-green

Fix deploy statuses not turning green
  • Loading branch information
moltenice authored May 18, 2023
2 parents 46696a8 + f666137 commit 6b0c094
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/functionality/issue_deploy_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def self.create_status_for_all_prs(config, status, message)
result = config.client.create_status(
config.app_repo, pr['head']['sha'], status,
description: message,
options: { context: context_name, target_url: config.event_payload['html_url'] }
context: context_name,
target_url: config.event_payload['html_url']
)
puts "Created #{result[:state]} state with " \
"description #{result[:description]} for PR #{pr.number} and url #{result[:url]} " \
Expand Down

0 comments on commit 6b0c094

Please sign in to comment.