We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3e3188 + 1c62c1f commit 89cdf2fCopy full SHA for 89cdf2f
.github/workflows/retry-test-jobs.yml
@@ -27,7 +27,7 @@ jobs:
27
run: |
28
echo "Inspecting jobs of workflow run $RUN_ID in $REPO"
29
30
- jobs_json="$(gh api repos/$REPO/actions/runs/$RUN_ID/jobs)"
+ jobs_json="$(gh api -R $REPO repos/$REPO/actions/runs/$RUN_ID/jobs)"
31
32
echo "Jobs and conclusions:"
33
echo "$jobs_json" | jq '.jobs[] | {name: .name, conclusion: .conclusion}'
@@ -44,7 +44,7 @@ jobs:
44
45
if [ "$failed_matrix_jobs" -gt 0 ]; then
46
echo "Detected failing Integration Tests jobs – re-running failed jobs for this run."
47
- gh run rerun "$RUN_ID" --failed
+ gh run rerun -R $REPO "$RUN_ID" --failed
48
else
49
echo "Only non-matrix jobs (like Test Results) failed – not auto-rerunning."
50
fi
0 commit comments