A job sets 'timeout-minutes: 30'. One long-running step sets 'timeout-minutes: 10'. After 10 minutes the step is still running. What occurs?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Step timeout-minutes is enforced for that step. The job timeout is a separate ceiling for the whole job.
Full explanation below image
Full Explanation
timeout-minutes can be set on jobs and on individual steps. A step's timeout cancels that step if it exceeds its own limit, even if the job-level budget still has time remaining. The job-level timeout still cancels the entire job if total job duration exceeds the job limit. Neither setting creates an approval gate. Organization or enterprise policies may impose additional maximums, but they do not mean step timeouts are ignored when present. Use shorter step timeouts for flaky network calls and a larger job timeout as a safety net.