Skip to main content

Canceling a workflow run

You can cancel a workflow run, including all jobs and steps, that is in progress.

Who can use this feature?

Write access to the repository is required to perform these steps.

In this article

Canceling a workflow run

  1. On GitHub, navigate to the main page of the repository.

  2. Under your repository name, click Actions.

    Screenshot of the tabs for the "github/docs" repository. The "Actions" tab is highlighted with an orange outline.

  3. In the left sidebar, click the workflow you want to see.

    Screenshot of the left sidebar of the "Actions" tab. A workflow, "CodeQL," is outlined in dark orange.

  4. From the list of workflow runs, click the name of the queued or in progress run that you want to cancel.

  5. In the upper-right corner of the workflow, click Cancel workflow.

    Screenshot showing the summary for a workflow that is currently running. The "Cancel workflow" button is highlighted with a dark orange outline.

Next steps

To learn about the process GitHub uses to cancel a workflow run, as well as the ways you can free up related resources, see Workflow cancellation reference.