1GH-RUN-RERUN(1)                GitHub CLI manual               GH-RUN-RERUN(1)
2
3
4

NAME

6       gh-run-rerun - Rerun a run
7
8
9

SYNOPSIS

11       gh run rerun [<run-id>] [flags]
12
13
14

DESCRIPTION

16       Rerun an entire run, only failed jobs, or a specific job from a run.
17
18
19       Note  that due for historical reasons, the --job flag may not take what
20       you expect.  Specifically, when navigating to a job in the browser, the
21       URL looks like this: https://github.com/<org>/<repo>/actions/runs/<run-
22       id>/jobs/<number>.
23
24
25       However, this number should not be used with the --job  flag  and  will
26       result  in  the  API  returning 404 NOT FOUND. Instead, you can get the
27       correct job IDs using the  following  command:  gh  run  view  <run-id>
28       --json jobs --jq '.jobs[] | {name, databaseId}'.
29
30
31

OPTIONS

33       -d, --debug
34              Rerun with debug logging
35
36
37       --failed
38              Rerun only failed jobs, including dependencies
39
40
41       -j, --job <string>
42              Rerun a specific job from a run, including dependencies
43
44
45

OPTIONS INHERITED FROM PARENT COMMANDS

47       -R, --repo <[HOST/]OWNER/REPO>
48              Select another repository using the [HOST/]OWNER/REPO format
49
50
51

SEE ALSO

53       gh-run(1)
54
55
56
57                                   Oct 2023                    GH-RUN-RERUN(1)
Impressum