From 96498c21ac1b7c884727482fb9e36b8d3088e92d Mon Sep 17 00:00:00 2001 From: Rob Bos Date: Fri, 8 Sep 2023 11:51:08 +0000 Subject: [PATCH] huh --- Src/PowerShell/load-used-actions.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Src/PowerShell/load-used-actions.ps1 b/Src/PowerShell/load-used-actions.ps1 index 40a4ac1..19f42da 100644 --- a/Src/PowerShell/load-used-actions.ps1 +++ b/Src/PowerShell/load-used-actions.ps1 @@ -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 }