Use --retry-on-errors flag for querying workflows (#3613)

This commit is contained in:
Bart Louwers
2025-07-14 17:53:30 +02:00
committed by GitHub
parent bcf636a91a
commit c284e0baae
4 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ jobs:
steps:
- id: check_skip
run: |
conclusion=$(curl --retry 5 ${{ github.event.workflow_run.jobs_url }} | jq -r '.jobs[] | select(.name == "linux-coverage").conclusion')
conclusion=$(curl --retry 12 --retry-all-errors ${{ github.event.workflow_run.jobs_url }} | jq -r '.jobs[] | select(.name == "linux-coverage").conclusion')
should_run=$([[ "$conclusion" = "success" ]] && echo "true" || echo "false")
echo "should_run=$should_run" >> "$GITHUB_OUTPUT"