fleetlint Policy for a fleet of repositories
v0.3
Getting started

ci/job-timeouts

Workflow jobs have timeouts

Severityinfo
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-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() > 0

Check

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.