workflows/eval: Catch empty conclusion (#366049)

This commit is contained in:
Jörg Thalheim
2024-12-18 20:01:19 +01:00
committed by GitHub
+1 -1
View File
@@ -165,7 +165,7 @@ jobs:
runId=$(jq .id <<< "$run")
conclusion=$(jq -r .conclusion <<< "$run")
while [[ "$conclusion" == null ]]; do
while [[ "$conclusion" == null || "$conclusion" == "" ]]; do
echo "Workflow not done, waiting 10 seconds before checking again"
sleep 10
conclusion=$(gh api /repos/"$REPOSITORY"/actions/runs/"$runId" --jq '.conclusion')