Lesstep
GitHub Actions · Checked November 3, 2026

GitHub Actions: "The job has exceeded the maximum execution time"

The job ran longer than its time limit and GitHub cancelled it. The limit is the job's timeout-minutes (360 if you set none) or the runner's own limit, whichever comes first. Before raising it, find out which step was running and whether the job was slow or stuck.

What it looks like

The annotation gives the limit as a duration: timeout-minutes: 20 shows as 20m0s, 90 as 1h30m0s, and the default 360 as 6h0m0s. From a public job on November 2, 2026:

The job has exceeded the maximum execution time of 20m0s

Older runs and many write-ups show an earlier form, "The job running on runner NAME has exceeded the maximum execution time of 360 minutes".

Which limit it was

A job whose steps all passed

Two projects reported this on November 2, 2026. In one, every step of a formatting job passed, Complete job included, by 3m40s; the last log line was Cleaning up orphan processes, and about two and a half minutes later the job was cancelled with "The job has exceeded the maximum execution time of 5m0s" (freenet-core #6095). In the other, a merge-queue job finished its steps in about 4m40s and was cancelled at 7 minutes, in 3 of 30 runs (claude-code-plugins #12506). Neither cause is known yet; both reports name a process left behind by a step as one candidate.

steps:
  - name: Start the server
    id: server
    run: ./scripts/serve.sh
    background: true
  - name: Run the tests
    run: npm test
  - name: Stop the server
    cancel: server

What to do

Other cancelled jobs

See cancelled jobs and their steps from IntelliJ IDEA

Pipeline Inbox for GitHub Actions Workflows, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the runs of all your repositories in an IDE tool window, with their jobs and steps, so a cancelled job stands out next to the ones that passed, and your current branch's runs are in the status bar. Reading is free; re-running failed jobs, cancelling, running workflows and reviewing deployments are Pro (US$1.50 a month, with a 30-day trial).

GitHub and GitHub Actions are trademarks of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with, sponsored or endorsed by GitHub, Inc. or JetBrains. Limits are from GitHub's documentation on November 3, 2026.

More: "The job was not acquired by Runner of type hosted" · "Waiting for a runner to pick up this job" · Re-running jobs with debug logging · GitHub Actions plugins for IntelliJ IDEA compared · 日本語