Skip to main content
FieldValue
CategoryBEST-PRAC-2
PlatformGitLab CI
SeverityLOW
Auto-fixFlags 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 default timeout:.

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.