Skip to content

Posts a reminder to Slack with a list of open merge requests for a GitLab group.

Notifications You must be signed in to change notification settings

easeev/gitlab-mr-reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

GitLab merge request reminders for Slack

Forked from this gist.

Requirements

Usage

Run ruby script by providing necessary arguments:

  • GitLab endpoint: 'https://yourcompany.gitlab.com/api/v4'
  • GitLab private token (you may have service user with read-only rights for this purpose): 'xxxxxxxxxxxxxxxxxxxxxxxx'
  • GitLab group id (supposing your team projects are in one group): 42
  • Slack webhook url: 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX'
ruby mr-reminder.rb \
       --endpoint 'https://yourcompany.gitlab.com/api/v4' \
       --token 'xxxxxxxxxxxxxxxxxxxxxxxx' \
       --group 42 \
       --webhook 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX'

Use help for more info:

ruby mr-reminder.rb --help

About

Posts a reminder to Slack with a list of open merge requests for a GitLab group.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages