Skip to content

Cancel workflow

Actions
Action to cancel a workflow
v1
Latest
Star (6)

Cancel Workflow

Build Version Size

This action cancels the currently running workflow.

Usage 🚀

permissions:
      actions: write

    steps:
      - name: Cancel workflow
        uses: action-pack/cancel@v1

In combination with the if statement, this allows you to cancel the workflow conditionally:

    steps:
      - name: Check condition
        if: env.my_variable == 'true'
        uses: action-pack/cancel@v1

Stars 🌟

Stars

Cancel workflow is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Action to cancel a workflow
v1
Latest

Cancel workflow is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.