Skip to content

A bot to cancel redundant builds from CircleCI workflows.

License

Notifications You must be signed in to change notification settings

charpeni/circleci-workflow-terminator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A bot to cancel redundant builds from CircleCI workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published