Skip to content

Commit

Permalink
Fix not found error for attestation build summary URL
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Dec 26, 2024
1 parent 96cba03 commit 969b4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/attestation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def display_data # rubocop:disable Metrics/MethodLength
source_commit_string: "#{repo}@#{commit[0, 7]}",
source_commit_url: "https://github.com/#{repo}/tree/#{commit}",
build_file_string:, build_file_url:,
build_summary_url: "https://github.com/#{repo}/actions/runs/#{build_file_string}"
build_summary_url: "https://github.com/#{repo}/actions/#{build_file_string.delete_prefix(".github/")}"
}
else
raise "Unhandled issuer: #{issuer.inspect}"
Expand Down

0 comments on commit 969b4b6

Please sign in to comment.