Skip to content
Latchkey

GitHub Actions "rerun failed because the run is too old"

GitHub only allows re-running a workflow run within a retention window (around 30 days). Past that, the run artifacts and logs needed to re-run are no longer available and the re-run is refused.

What this error means

Clicking Re-run on an old run fails with a message that the run is too old.

github-actions
Error: This run could not be re-run because it is too old.
Runs can only be re-run within 30 days of the original execution.

Common causes

Run past the re-run retention window

The run exceeded the ~30-day re-run window; its data is no longer retained.

How to fix it

Trigger a fresh run

  1. Push a new commit or use workflow_dispatch to start a fresh run instead of re-running the old one.
  2. For deploys, re-run from the current ref rather than the stale historical run.

How to prevent it

  • Re-run promptly; do not rely on re-running runs older than the window.
  • Use workflow_dispatch to re-execute on demand from current refs.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →