Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages