Mergify
A very simple cli to check merge requests on Gitlab.
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.
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 :