File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ def display_data # rubocop:disable Metrics/MethodLength
29
29
commit = extensions [ "1.3.6.1.4.1.57264.1.3" ]
30
30
ref = extensions [ "1.3.6.1.4.1.57264.1.14" ]
31
31
san = extensions [ "subjectAltName" ]
32
- build_file_url = extensions [ "1.3.6.1.4.1.57264.1.21" ]
32
+ build_summary_url = extensions [ "1.3.6.1.4.1.57264.1.21" ]
33
+ build_file_url = build_summary_url . sub ( %r{attempts/\d +\z } , "workflow" )
33
34
34
35
case issuer
35
36
when "https://token.actions.githubusercontent.com"
@@ -38,9 +39,9 @@ def display_data # rubocop:disable Metrics/MethodLength
38
39
{
39
40
ci_platform : "GitHub Actions" ,
40
41
source_commit_string : "#{ repo } @#{ commit [ 0 , 7 ] } " ,
41
- source_commit_url : "https://github.com/#{ repo } /tree /#{ commit } " ,
42
+ source_commit_url : "https://github.com/#{ repo } /commit /#{ commit } " ,
42
43
build_file_string :, build_file_url :,
43
- build_summary_url : "https://github.com/ #{ repo } /actions/runs/ #{ build_file_string } "
44
+ build_summary_url :
44
45
}
45
46
else
46
47
raise "Unhandled issuer: #{ issuer . inspect } "
You can’t perform that action at this time.
0 commit comments