mheap / hold-your-horses

Hold your horses! is a Github status check that will leave a pending status check open for a certain period of time, leaving plenty of time for code reviews.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hold your horses!

Inspired by this tweet.

Ever seen a PR come in on Github only to have it merged by an overeager coworker before you've had chance to read through the changes?

Hold your horses! is a Github status check that will leave a pending status check open for a certain period of time. If combined with branch protection it means that no-one can merge for however long you specify, leaving plenty of time for code reviews.

See an example video

Getting started

Clone this repo, edit index.js to specify your own Github auth token and then add a webhook to your repo that calls http://yourhostedcopyofthisrepo.com/hook. At the moment there's no inspection of the payload, so any change to a pull request will retrigger the status check

About

Hold your horses! is a Github status check that will leave a pending status check open for a certain period of time, leaving plenty of time for code reviews.


Languages

Language:JavaScript 100.0%