spatecon / gitlab-review-bot

Observes and modifies Merge Requests by Review&Approve Policy. Daily Slack notifications included.
MIT License
49 stars 4 forks source link
bot gitlab go mongodb review-tools slack

GitLab Review Bot

A server application that observes GitLab merge requests (MR) and rotates reviews using custom Review&Approve policies.

Go GitHub

gopher-in-glasses

Situation

Have you ever been tagged for an ASAP review during the day? Switching the context of the developer wastes his energy and reduces the entire team's productivity.

Down with @here tagging of whole team for MR review. Let the robot follow Review&Approve policy.

Approach

What if we delegate supervising work to a machine?

Solution

Review bot (written in Go)

Examples of Review&Approve policy

Policy Reviews Selection Code Approval
TeamLead is always right random pick 2 devs and lead 👩‍💻🧑‍💻 + 🧙‍♂️️ 1 lead
Developers riot random pick 2 devs 👩‍💻🧑‍💻 1 dev
Reinventing Democracy random pick 2 devs 👩‍💻👨‍💻 2 devs

Roadmap