diff --git a/.github/workflows/check-active-prs-and-slots.yml b/.github/workflows/check-active-prs-and-slots.yml index c2fbdcbe4e..4bf89315b6 100644 --- a/.github/workflows/check-active-prs-and-slots.yml +++ b/.github/workflows/check-active-prs-and-slots.yml @@ -88,13 +88,13 @@ jobs: $SlotsWithoutPR = $SlotList | Where-Object { $_ -notin $PRList } if ( $SlotsWithoutPR.Length -gt 0 ) { $SlotIDs = $SlotsWithoutPR -split ' ' - $ListOfSlots = $SlotsWithoutPR -join ', ' + $ListOfSlots = $SlotsWithoutPR -join ' ' Write-Host "⚡- These slots need to be deleted : $ListOfSlots" $JSONSlotIDs = $SlotIDs | ConvertTo-Json -Compress $JsonWithBackslash = $JSONSlotIDs -replace '"', '\"' echo $JSONSlotIDs #TODO: Currently, we are passing single id, should be passed as an array of IDs - echo "SlotID=$(JSONSlotIDs)" >> $env:GITHUB_OUTPUT + echo "SlotID=$ListOfSlots" >> $env:GITHUB_OUTPUT } else { Write-Host "✅ - Some PRs have not their slot deployed!" }