FreeBSD Manual Pages
GH-RUN-RERUN(1) GitHub CLI manual GH-RUN-RERUN(1) NAME gh-run-rerun - Rerun a run SYNOPSIS gh run rerun [<run-id>] [flags] DESCRIPTION Rerun an entire run, only failed jobs, or a specific job from a run. Note that due to historical reasons, the --job flag may not take what you expect. Specifically, when navigating to a job in the browser, the URL looks like this: https://github.com/<owner>/<repo>/ac- tions/runs/<run-id>/jobs/<number>. However, this <number> should not be used with the --job flag and will result in the API returning 404 NOT FOUND. Instead, you can get the correct job IDs using the following command: gh run view <run-id> --json jobs --jq '.jobs[] | {name, databaseId}' You will need to use databaseId field for triggering job re-runs. OPTIONS -d, --debug Rerun with debug logging --failed Rerun only failed jobs, including dependencies -j, --job <string> Rerun a specific job ID from a run, including dependencies OPTIONS INHERITED FROM PARENT COMMANDS -R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format EXIT CODES 0: Successful execution 1: Error 2: Command canceled 4: Authentication required NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. SEE ALSO gh-run(1) Apr 2025 GH-RUN-RERUN(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPTIONS INHERITED FROM PARENT COMMANDS | EXIT CODES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=gh-run-rerun&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>