Skip to content

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

46 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