Skip to content

Commit

Permalink
Fix build_file_url variable name (#5236)
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Giddins <[email protected]>
  • Loading branch information
segiddins authored Nov 14, 2024
1 parent 9571ff1 commit 90773ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/attestation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def display_data # rubocop:disable Metrics/MethodLength
commit = extensions["1.3.6.1.4.1.57264.1.3"]
ref = extensions["1.3.6.1.4.1.57264.1.14"]
san = extensions["subjectAltName"]
build_summary_url = extensions["1.3.6.1.4.1.57264.1.21"]
build_file_url = extensions["1.3.6.1.4.1.57264.1.21"]

case issuer
when "https://token.actions.githubusercontent.com"
Expand All @@ -39,7 +39,7 @@ def display_data # rubocop:disable Metrics/MethodLength
ci_platform: "GitHub Actions",
source_commit_string: "github.com/#{repo}@#{commit[0, 7]}",
source_commit_url: "https://github.com/#{repo}/tree/#{commit}",
build_file_string:, build_summary_url:
build_file_string:, build_file_url:
}
else
raise "Unhandled issuer: #{issuer.inspect}"
Expand Down

0 comments on commit 90773ab

Please sign in to comment.