Skip to content

Github Action step for conditional cancellation

License

Notifications You must be signed in to change notification settings

Opentrons/cancel-action

 
 

Repository files navigation

Cancel Action

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

    - name: cancelling
      uses: Opentrons/[email protected]
        with:
          message: "Your message."

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.

How to Release

  • open in dev container
  • bump the version in README, package.json, use-cancel.yml.github/workflows/use-cancel.yml)
  • npm run build
  • git add .
    git commit -m "Your commit message"
    git tag -a -m "Release message" v0.8
    git push --follow-tags

About

Github Action step for conditional cancellation

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 64.1%
  • JavaScript 35.9%