This is a bot to get people to review your MR. Simply paste your link in the review channel and the bot will let people know you need a review.
- Mention reviewers in Slack.
- Adds MR title and description to slack reply.
- Displays when MR is a draft/open/merged/closed with emojis.
- Remind people to review every hour.
yarn
yarn start:dev
Start an external server with ngrok
ngrok http 3000
Gitlab endpoint (Merge request events only):
https://[ngrok-uuid].ngrok.io/git
Slack endpoint:
https://[ngrok-uuid].ngrok.io/slack
SLACK_OAUTH=xox...
SLACK_SIGNING_SECRET=<slack signing secret>
GITLAB_APP_OAUTH=glp...
GITLAB_URL=https://gitlab.com/
X_GITLAB_TOKEN=<webhook security token>
MONGO_URL=mongodb+srv://<username>:<password>@<cluster>?<params>
REMINDER_CRON=0 14 * * *
Do not add the REMINDER_CRON
if you don't want the reminder to run.
mr_draft
mr_open
mr_closed
mr_merged