From 90773ab0773eb2278c4f78aeafea8cb7ecf43b47 Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Thu, 14 Nov 2024 12:56:15 -0600 Subject: [PATCH] Fix build_file_url variable name (#5236) Signed-off-by: Samuel Giddins --- app/models/attestation.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/attestation.rb b/app/models/attestation.rb index cd21dc25bab..e85eac9e770 100644 --- a/app/models/attestation.rb +++ b/app/models/attestation.rb @@ -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" @@ -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}"