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.
- Generate a CircleCI Personal API Token.
- Deploy this bot somewhere like on Heroku or Now.
- Add
CIRCLE_TOKEN
with your CircleCI Personal API Token to the environment variables. - Add a Webhook to your deployed bot into your GitHub repository with only push events.
You're good to go. 🎉
CircleCI Workflow Terminator is MIT Licensed.