File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ jobs:
142142 $CompareUrl = $RepoData.compare_url.Replace("{base}...{head}", "$DefaultBranch...")
143143 $GitHubGraphQlUrl = "https://api.github.com/graphql"
144144 $BranchesHtmlUrl = "$($GitHubData.event.repository.html_url)/branches"
145+ $GitHubBaseUrl = "https://github.com"
145146
146147 # Get the list of branches to process and set the initial branch count.
147148 $Branches = Invoke-RestMethod -Headers $GitHubHeaders -Uri $BranchesUrl -Method GET -FollowRelLink -MaximumFollowRelLink 50 -ResponseHeadersVariable ResponseHeaders
@@ -530,7 +531,7 @@ jobs:
530531 $BC = $BranchReport.BranchCreator
531532
532533 Write-Host "$PR` : Branch name: $BN. Branch creator: $BC. Ahead by: $AB. Behind by: $BB. Days since last commit: $LC. "
533- echo "| $BN | $BC | $AB | $BB | $LC | $PR |" >> $env:GITHUB_STEP_SUMMARY
534+ echo "| $BN | [ $BC]($GitHubBaseUrl/$BC) | $AB | $BB | $LC | $PR |" >> $env:GITHUB_STEP_SUMMARY
534535
535536 }
536537
@@ -570,7 +571,7 @@ jobs:
570571 $BranchDiffHtmlUrl = "$($GitHubData.event.repository.html_url)/compare/$DefaultBranch...$($BN)#files_bucket"
571572
572573 Write-Host "$PR` : Branch name: $BN. Branch creator: $BC. Ahead by: $AB. Behind by: $BB. Days since last commit: $LC. "
573- echo "| [$BN]($BranchDiffHtmlUrl) | $BC | $AB | $BB | $LC | $PR |" >> $env:GITHUB_STEP_SUMMARY
574+ echo "| [$BN]($BranchDiffHtmlUrl) | [ $BC]($GitHubBaseUrl/$BC) | $AB | $BB | $LC | $PR |" >> $env:GITHUB_STEP_SUMMARY
574575
575576 }
576577
You can’t perform that action at this time.
0 commit comments