gh-automerge
Cron bot that automatically:
- Merges master into your PR when it's out of date
- Merges your PR when it's up-to-date and is not blocked by any checks
To enable this on your PR, simply add a label called AUTOMERGE
.
Installation
You could run this where ever, but I run this as a cron job in CircleCI. Installation:
- Create a new repository
npm i --save-dev gh-automerge
- Copy our
.circleci/config.yml
template into your repository - Enable CircleCI
- Add
GITHUB_TOKEN
andGITHUB_ORG
env vars to your CircleCI config