Skip to content
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

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cancel Action

This Action uses the GitHub API to cancel the currently running workflow. Example usage:

    - name: cancelling
      uses: andymckay/cancel-action@0.4

The cancellation might take a few seconds to process, this is most useful when you'd like to cancel a long running build. In combination with the if statement, this allows you to cancel the build conditionally.

KS14

Forked this because I don't trust the repo this was taken from ( https://github.com/andymckay/cancel-action ) to stay up forever

Troubleshooting

Error: Resource not accessible by integration

Solution: Give the workflow write access to github actions, usually by including this in the top-level of the workflow file:

permissions:
actions: write

About

Github workflows action for cancelling a run early.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages