Tool to auto merge GitHub pull request branches on Circle CI
npm install -g circleci-automerge
- Create personal access token in GitHub
- Add access token to
GH_TOKEN
environment variable in Circle CI
Usage: circleci-automerge [options]
Options:
-v, --version output the version number
-f, --filter <regexp> regular expression to filter branches
-h, --help output usage information
Auto merge only branches that start with 'greenkeeper/'
circleci-automerge --filter="^greenkeeper/"
npm test
npm run lint
npm version [ major | minor | patch ] -m 'Release version %s'