Lesstep
GitHub Actions · Checked November 3, 2026

GitHub Actions: "No space left on device" on a hosted runner

The runner's root disk filled up. GitHub's hosted Ubuntu runners come with many toolchains already installed, so a large build or a large Docker image can use up what is left. The usual fix is to delete preinstalled software the job does not need, at the start of the job.

What it looks like

How much space a hosted runner has

Print it at the start of the job, so a failed run shows which kind it got:

- run: df -h /

Freeing space

What deleting each preinstalled toolchain freed on an ubuntu-24.04 runner of a public repository on September 17, 2026, from the CI log of jlumbroso/free-disk-space. The disk went from 87 GB to 119 GB available. The Ubuntu 26.04 image that ubuntu-latest is moving to has the same toolchains (its image README of October 26):

- name: Free disk space
  run: |
    df -h /
    sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup
    docker image prune --all --force
    df -h /

Using less

Telling it apart

See failed jobs 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, 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.

More: ubuntu-latest moving to Ubuntu 26.04 · A runner that lost communication · "Artifact storage quota has been hit" · GitHub Actions plugins for IntelliJ IDEA compared · 日本語