| Field | Value |
|---|---|
| Category | BEST-PRAC-2 |
| Platform | GitLab CI |
| Severity | LOW |
| Auto-fix | Flags jobs without a timeout: that also don’t inherit one from a default: { timeout: ... } block. |
What the check does
A stuck job can run until the project/instance maximum, wasting runner minutes and holding resources. Set an explicit per-job or defaulttimeout:.
Why it matters
Findings for this rule fire only on.gitlab-ci.yml and .gitlab-ci/*.yml.
It is the GitLab analog of the correspondingly-numbered GitHub Actions rule; see
the rules overview for the full
GitLab table.