Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

hapi plugin to automatically merge and clean up passing greenkeeper PRs

License

Notifications You must be signed in to change notification settings

greenkeeper-keeper/hapi-greenkeeper-keeper

Repository files navigation

hapi-greenkeeper-keeper

hapi plugin to automatically merge and clean up passing greenkeeper PRs

Build Status Codecov

Usage

license npm node Snyk Vulnerabilities for npm package monthly downloads Gitter

This is a hapi plugin that you can load into your server instance. You can either load the plugin yourself or use glue to compose your server configuration for a manifest.

Installation

$ npm install hapi-greenkeeper-keeper -S

Configuration

This plugin has a few required options that you will need to pass when you load the plugin on your server.

  • github.token required: a personal access token for the GitHub account that you intend to process greenkeeper PRs

    Note: the personal access token will need the repo and repo:read_hooks scopes in order to work properly

  • acceptAction required: how the contribution should be integrated, once accepted. Valid choices include:

    • merge
    • squash
    • rebase

Contributing

PRs Welcome Conventional Commits Commitizen friendly greenkeeper badge semantic-release

Dependencies

$ nvm install
$ npm install

Verification

$ npm test