Skip to content

Action to cancel a workflow.

License

Notifications You must be signed in to change notification settings

action-pack/cancel

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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