Skip to content

Commit

Permalink
huh
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Sep 8, 2023
1 parent 5cb9286 commit 96498c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Src/PowerShell/load-used-actions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@ function GetAllUsedActionsFromRepo {
foreach ($workflowFile in $workflowFiles) {
try {
if ($null -ne $workflowFile.download_url -and $workflowFile.download_url.Length -gt 0 -and $workflowFile.download_url.Split("?")[0].EndsWith(".yml")) {
Write-Host "1"
$workflow = GetRawFile -url $workflowFile.download_url -PAT $PAT
Write-Host "2"
$actions = GetActionsFromWorkflow -workflow $workflow -workflowFileName $workflowFile.name -repo $repo
Write-Host "3"

$actionsInRepo += $actions
}
Expand Down

0 comments on commit 96498c2

Please sign in to comment.