{"meta":{"title":"取消工作流程运行","intro":"可以取消正在进行的工作流运行（包括所有作业和步骤）。","product":"GitHub Actions","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/actions","title":"GitHub Actions"},{"href":"/zh/enterprise-cloud@latest/actions/how-tos","title":"操作方法"},{"href":"/zh/enterprise-cloud@latest/actions/how-tos/manage-workflow-runs","title":"管理工作流运行"},{"href":"/zh/enterprise-cloud@latest/actions/how-tos/manage-workflow-runs/cancel-a-workflow-run","title":"取消工作流运行"}],"documentType":"article"},"body":"# 取消工作流程运行\n\n可以取消正在进行的工作流运行（包括所有作业和步骤）。\n\n## 取消工作流程运行\n\n1. 在 GitHub 上，导航到存储库的主页面。\n2. 在仓库名称下，单击“<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-play\" aria-label=\"play\" role=\"img\"><path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z\"></path></svg> Actions”\\*\\*\\*\\*。\n\n   ![“github/docs”存储库的选项卡的屏幕截图。 “操作”选项卡以橙色边框突出显示。](/assets/images/help/repository/actions-tab-global-nav-update.png)\n3. 在左侧边栏中，单击您想要查看的工作流程。\n\n   ![“操作”选项卡的左侧边栏的屏幕截图。工作流“CodeQL”以深橙色标出。](/assets/images/help/actions/superlinter-workflow-sidebar.png)\n4. 从工作流运行列表中，单击要取消的 `queued` 或 `in progress` 运行的名称。\n5. 在工作流右上角单击“取消工作流”。\n\n![显示当前正在运行的工作流摘要的屏幕截图。 “取消工作流”按钮以深橙色轮廓突出显示。](/assets/images/help/repository/cancel-check-suite-updated.png)\n\n## 后续步骤\n\n若要了解用于取消工作流运行的过程 GitHub 以及释放相关资源的方式，请参阅 [工作流取消指南](/zh/enterprise-cloud@latest/actions/reference/workflows-and-actions/workflow-cancellation)。"}