Skip to content

Commit

Permalink
Publish HTML URL on github if present
Browse files Browse the repository at this point in the history
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 authored and YanVugenfirer committed Jul 4, 2023
1 parent 18fbb91 commit e2999b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def github_handling_context
def github_handling(commit)
return true if commit.to_s.empty?

@github = Github.new(@config, @logger, @result_uploader.url, github_handling_context,
url = @result_uploader.html_url || @result_uploader.url
@github = Github.new(@config, @logger, url, github_handling_context,
commit)
raise GithubCommitInvalid unless @github.connected?

Expand Down

0 comments on commit e2999b6

Please sign in to comment.