From e2999b6e1fcda260790e9bc4a6de95765efe7515 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kostiuk Date: Thu, 29 Jun 2023 13:55:16 -0400 Subject: [PATCH] Publish HTML URL on github if present Signed-off-by: Kostiantyn Kostiuk --- lib/project.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/project.rb b/lib/project.rb index e7792b4d..7e67085d 100644 --- a/lib/project.rb +++ b/lib/project.rb @@ -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?