ci/job-timeouts
Workflow jobs have timeouts
| Severity | info |
| Tiers | all |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.0.0-20261011205826-ecb4e9b3ffd4 |
| Selected by | fleetlint-recommended@0.1.0 |
Requirement
Every job sets timeout-minutes (reusable-workflow jobs excepted) so a hang cannot burn the runner budget.
Why
The default job timeout is six hours.
Applies when
workflows().size() > 0Check
For each item in:
workflows()jobs(item).all(j, j.timeout_minutes > 0 || j.uses != "")Fix
Add timeout-minutes: 15 (or what the job needs) to each job.
Agent instruction: Add timeout-minutes to each job in the flagged workflow, sized to roughly twice its typical duration.
Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.