Skip to content

Commit 969b4b6

Browse files
committed
Fix not found error for attestation build summary URL
1 parent 96cba03 commit 969b4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/attestation.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def display_data # rubocop:disable Metrics/MethodLength
4040
source_commit_string: "#{repo}@#{commit[0, 7]}",
4141
source_commit_url: "https://github.com/#{repo}/tree/#{commit}",
4242
build_file_string:, build_file_url:,
43-
build_summary_url: "https://github.com/#{repo}/actions/runs/#{build_file_string}"
43+
build_summary_url: "https://github.com/#{repo}/actions/#{build_file_string.delete_prefix(".github/")}"
4444
}
4545
else
4646
raise "Unhandled issuer: #{issuer.inspect}"

0 commit comments

Comments
 (0)