Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.71 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.71 KB

CircleCI Workflow Terminator CircleCI

A bot to cancel redundant builds from CircleCi workflows.

        

It won't be back!

Since CircleCI 2.0, the option to auto-cancel redundant builds does not apply to workflows.

The main goal of this repository is to provide a way to cancel redundant builds from a CircleCI workflow with minimal changes.

To achieve that, this bot will be triggered by GitHub push events and will cancel redundant builds if needs with the CircleCI API.

Setup

Deploy to Heroku

Deploy to now

  1. Generate a CircleCI Personal API Token.
  2. Deploy this bot somewhere like on Heroku or Now.
  3. Add CIRCLE_TOKEN with your CircleCI Personal API Token to the environment variables.
  4. Add a Webhook to your deployed bot into your GitHub repository with only push events.

You're good to go. 🎉

License

CircleCI Workflow Terminator is MIT Licensed.