Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.03 KB

readme.md

File metadata and controls

33 lines (24 loc) · 1.03 KB

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