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
- Push a new commit or use workflow_dispatch to start a fresh run instead of re-running the old one.
- 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
GitHub Actions "The job was canceled because a dependent job failed"Understand and fix GitHub Actions jobs canceled because a job they need failed, cascading the cancellation do…
GitHub Actions "The requested workflow was not found at ref"Fix "The requested workflow was not found" when dispatching or referencing a workflow that does not exist on…
GitHub Actions "has encountered an internal error" (retry)Handle "GitHub Actions has encountered an internal error while running your job" - a transient server-side fa…