Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk5 min

How to Rerun Failed GitHub Actions Jobs

Retry failed GitHub Actions jobs without rerunning unrelated successful jobs. Use the web interface, GitHub CLI, or REST API, and understand rerun limits and context.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To rerun only the unsuccessful work in GitHub Actions, open the failed workflow run and choose Re-run jobs > Re-run failed jobs. You can do the same from the GitHub CLI with gh run rerun RUN_ID --failed. GitHub permits reruns for up to 30 days after the original run and limits each run to 50 reruns total. A rerun keeps the original triggering actor’s privileges and the original commit SHA and ref.

Rerun failed jobs in the GitHub web interface

  1. In your repository, open Actions.
  2. Select the workflow, then open the failed run.
  3. Choose Re-run jobs > Re-run failed jobs.
  4. Optionally enable Enable debug logging if you need additional runner or step diagnostics.
  5. Select Re-run jobs to start the retry.

GitHub reruns failed jobs and the jobs that depend on them. Successful jobs that are not dependencies are not rerun. If you need to retry a different scope, use the menu’s other rerun options or the CLI/API options below.

Rerun failed jobs with GitHub CLI

Install and authenticate the GitHub CLI, then run this from a repository checkout or otherwise specify the relevant run ID:

gh run rerun RUN_ID --failed

Replace RUN_ID with the numeric workflow run ID. To request debug logging for the rerun, add --debug:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

gh run rerun RUN_ID --failed --debug

If you leave out RUN_ID, the CLI offers an interactive menu for choosing a recent failed run. The CLI command reruns failed jobs and their dependencies, rather than rerunning every successful, unrelated job.

Choose the right rerun scope

What you want to rerun How What happens
Only failed jobs Web: Re-run jobs > Re-run failed jobs; CLI: gh run rerun RUN_ID --failed Retries failed jobs and dependent jobs.
The entire workflow run Choose the full-run option in the run’s Re-run jobs menu, or use gh run rerun RUN_ID. Reruns all jobs in the workflow, including jobs that succeeded previously.
One specific job Use the specific-job option in the run’s Re-run jobs menu, or use the corresponding REST API endpoint. Targets that job; dependent jobs may also need to run.

Menu wording or placement may vary as GitHub updates its interface. Confirm the selected scope before starting, especially when a workflow has expensive or time-consuming successful jobs.

Rerun a workflow programmatically with the REST API

GitHub’s REST API provides endpoints to rerun a whole workflow run, rerun failed jobs, or rerun a specific job. The endpoints use the workflow run ID (and, for a specific-job rerun, the job ID). Fine-grained personal access tokens need Actions repository write permission. For the failed-jobs endpoint, GitHub reruns failed jobs and their dependent jobs.

See GitHub’s endpoint details and request formats in the REST API documentation for workflow runs. Use the API endpoint matching the scope you intend; do not substitute a run ID for a job ID.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check logs before you retry

A rerun is useful when a failure may be transient, but it does not fix a reproducible problem in the workflow, code, or environment. First identify the failed step and review its output so you can decide whether a retry is appropriate.

  • Open the run summary and locate the failed job and step.
  • Inspect the step output for the actionable error, such as a failed command or unavailable dependency.
  • For CLI inspection, run gh run view RUN_ID to view run details.
  • To print a job’s log, use gh run view --job JOB_ID --log.

GitHub documents how to view and search workflow logs and how to troubleshoot workflows.

Limits and context that carry into a rerun

  • Time window: workflows and jobs can be rerun up to 30 days after the initial execution.
  • Rerun cap: a workflow run can be rerun at most 50 times total. The cap counts full reruns and reruns of subsets, not just whole-workflow retries.
  • Actor privileges: the rerun uses the privileges of the actor who triggered the original run, not necessarily the person who clicks rerun.
  • Same commit and ref: the rerun uses the original GITHUB_SHA and GITHUB_REF. It does not pick up a newer commit automatically.

These are GitHub’s documented product limits and rerun behavior; check the linked documentation if they are critical to an operational policy.

Troubleshoot common rerun problems

The rerun option is unavailable

Check whether the original run is still within GitHub’s 30-day rerun window and whether it has reached the 50-rerun cap. Also confirm that your account has permission to access and act on the repository’s workflow runs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The rerun used the wrong permissions or old code

This is expected behavior: GitHub reuses the original triggering actor’s privileges and the run’s original SHA and ref. If the workflow needs a newer commit or different authorization context, trigger a new workflow run under the intended conditions instead of retrying the old run.

The retry fails at the same step

Review the failed step’s log rather than repeatedly rerunning it. Correct the underlying workflow, code, secret, dependency, or environment issue as appropriate, then start a new run for the corrected commit.

You reran more work than intended

Before confirming a rerun, check whether you selected the full workflow, failed jobs, or a specific job. The full-run option includes previously successful work; the failed-jobs option includes dependencies needed by failed jobs.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup:

ScreenshotNeo is a website screenshot API and MCP server, not a way to rerun GitHub Actions jobs. If you need a clean screenshot of a workflow page or another URL, one GET request can return an image or PDF. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://github.com -o shot.webp

See the ScreenshotNeo API documentation for request options. Cookie banners, popups and chat widgets are removed before capture; bot checks, blank pages and failed loads are never billed; an MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000. Sign up free.

Frequently Asked Questions

Does rerunning a failed job create a new workflow run?

No. It reruns work within the existing workflow run, subject to that run’s rerun limit.

Can I rerun a failed job after pushing a fix?

A rerun uses the original commit SHA and ref. To run the pushed fix, start a new workflow run for that commit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.