/mergify

A very small cli for looking at Gitlab merge requests

Primary LanguageJavaScriptMIT LicenseMIT

Mergify

A very simple cli to check merge requests on Gitlab.

npm Build Status Coverage Status Known Vulnerabilities

Install

yarn global add @pindakaasman/mergify

Usage

Just grab up the help menu by using mergify --help and you will be presented with the help dialog.

  Usage: mergify [options]

  Options:

    -V, --version   output the version number
    -a --assigned   Get all open merge request assigned to you
    -s --submitted  Get all open merge request submitted to you
    -c --configure  Setup or update required config
    -v --verify     Verify your config is correct
    -h, --help      output usage information

Configure

To complete setup you will need to run the configure command to provide access to the Gitlab API.

mergify --configure

Finding your userid

You Gitlab userid is not your username!

You can find your userid by going to the profile page. It will be located on the right.

Example of userid

Getting a Gitlab access token

Complete documentation on how to get a private token can be found at Gitlab.

You will need to go to you access tokens page and provide at least api access.

See Screenshot for an example of access token creation :

screen shot 2018-04-20 at 1 09 40 pm