Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
ci-status:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 180
permissions:
checks: read
steps:
Expand Down Expand Up @@ -92,10 +92,12 @@ jobs:

if (failed.length > 0) {
for (const cr of failed) {
core.error(`${cr.name} concluded with: ${cr.conclusion}`);
core.warning(`${cr.name} concluded with: ${cr.conclusion} — waiting for re-run`);
}
core.setFailed(`${failed.length} CI check(s) failed.`);
return;
core.info(`${failed.length} check(s) failed. Waiting 30s for re-runs before giving up...`);
core.info('Re-run the failed job(s) and ci-status will pick up the result automatically.');
await new Promise(r => setTimeout(r, 30000));
continue;
}

const succeeded = completed.filter(cr => successConclusions.has(cr.conclusion));
Expand Down
Loading