Skip to content

CodeWithEmad/gitlab-mr-approval-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest SemVer) GitHub workflow GitHub

GitLab MR Approval Guard in action

A lightweight browser extension that brings merge request approval enforcement to your team—helping prevent accidental merges and ensuring code quality. Enjoy GitLab Premium-level safeguards for free.

Features

  • Block merge button until approval: Prevents merging until at least one team member has approved the MR.

  • Custom banners: Reminds contributors to:

    • Get a review from another team member
    • Post updates in relevant channels
    • Ensure a DevOps member is involved when needed
  • Branch protection: Configure which branches should be protected directly in your team’s browsers.

  • Easy setup: Works instantly without modifying GitLab server settings.

Installation

Usage

Once installed, the extension will:

  • Display a banner on top of the MR page
  • Block the merge button until the MR has at least one approval
  • Remind contributors to follow team review guidelines

You can configure branch protection and banner behavior in the extension settings.

Why Use This Extension?

Even minor oversights in the review process can cause production issues. This extension:

  • Standardizes review practices
  • Improves team collaboration
  • Reduces risk of accidental merges
  • Saves your team from costly mistakes

All the benefits of GitLab Premium Merge Request Approvals, available freely.

Demo

Merge Request Approval Guard in Action The merge button is blocked and the banner reminds the contributor to get approval before merging.

Contributing

Contributions are welcome! Feel free to:

  • Open issues for bugs or feature requests
  • Submit pull requests for enhancements
  • Share your feedback and use cases

Privacy Policy

Please see our Privacy Policy for details on data collection and usage.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Chrome and Firefox extension that enforces merge discipline by blocking the merge button until at least one approval is received—bringing Premium-level safeguards to any team, for free.

Topics

Resources

License

Stars

Watchers

Forks