Send a reminder to a Slack (or Mattermost) channel with a list of open GitLab merge requests waiting for someone to merge them. You can define a list of groups to monitor, so that no merge requests sink into oblivion anymore.
The list of merge requests will look like this:
If you are still working on a merge request, mark it as WIP and it will not appear in the list.
📕 Resolve "Fix checkout bug" - Author: John Smith, updated 12 days ago
📙 Resolve "Add button to wishlist" - Author: John Smith, updated 3 days ago, assigned to Nick Carter
📗 Resolve "Update styles.less" - Author: Nick Carter, updated yesterday 🚫 cannot be merged
The merge requests are sorted by date (older first) and marked with 📗 (up to 1 day), 📙 (up to a week) or 📕 (older than a week). WIP MRs are not shown.
This project was inspired by slack-gitlab-mr-reminder.
- A GitLab API Token
- A Slack / Mattermost Webhook URL
Clone the repository and install the dependencies:
bundle
Copy the configuration file in the script directory:
cp config.example.json config.json
Edit the file and set the correct values, then run the notifier script:
./notifier
You will receive a notification in your Slack channel with the list of open merge requests.
Run bundle exec guard
to keep the test suite running in watch mode.