Skip to content

Tool to auto merge GitHub pull request branches on Circle CI

License

Notifications You must be signed in to change notification settings

NewThingsCo/circleci-automerge

Repository files navigation

circleci-automerge

CircleCI

Tool to auto merge GitHub pull request branches on Circle CI

Usage

Install

npm install -g circleci-automerge

Prerequisite

  1. Create personal access token in GitHub
  2. Add access token to GH_TOKEN environment variable in Circle CI

Options

Usage: circleci-automerge [options]

Options:

  -v, --version                  output the version number
  -f, --filter <regexp>          regular expression to filter branches
  -h, --help                     output usage information

Examples

Auto merge only branches that start with 'greenkeeper/'

circleci-automerge --filter="^greenkeeper/"

Development

Tests

npm test

Lint

npm run lint

Release

npm version [ major | minor | patch ] -m 'Release version %s'

About

Tool to auto merge GitHub pull request branches on Circle CI

Resources

License

Stars

Watchers

Forks

Packages

No packages published