注: GitHub 托管的运行器目前在 GitHub Enterprise Server 上不受支持。 您可以在 GitHub 公共路线图 上查看有关未来支持计划的更多信息。
Re-running a workflow uses the same GITHUB_SHA (commit SHA) and GITHUB_REF (Git ref) of the original event that triggered the workflow run. You can re-run a workflow up to 30 days after the initial run.
- 在 GitHub Enterprise Server 上,导航到仓库的主页面。
- 在仓库名称下,单击 Actions(操作)。

- 在左侧边栏中,单击您想要查看的工作流程。

- 从工作流程运行列表中,单击要查看的运行的名称。

- 在工作流程的右上角,使用 Re-run jobs(重新运行作业)下拉菜单并选择 Re-run all jobs(重新运行所有作业)。

To learn more about GitHub CLI, see "About GitHub CLI."
要重新运行失败的工作流程运行,请使用 run rerun 子命令。 将 run-id 替换为您想要重新运行的已失败运行的 ID。 如果您没有指定 run-id,GitHub CLI 将返回一个交互式菜单,供您选择最近失败的运行。
gh run rerun run-id
要查看工作流程运行的进度,请使用 run watch 子命令,并从交互式列表中选择运行。
gh run watch

