This Extension enforces strict approval rules on GitLab Merge Requests and provides critical warnings when merging into protected branches.
-
Approval Enforcement: Prevents the "Merge" button from being clickable unless at least 1 approval is detected.
-
Critical Branch Warnings: Displays a prominent, non-dismissible banner at the top of the page when merging into:
mainmasterproductiondevelopment/devstagingnightly
The banner reminds you to:
- Get a review.
- Post in related channels.
- Ensure a DevOps team member is present.
- Clone or download this repository.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode (toggle in the top right).
- Click Load unpacked.
- Select the folder where you cloned this repository.
- Visit the Firefox Add-ons page.
- Click Add to Firefox.
- Open Firefox and navigate to
about:debugging. - Click on This Firefox in the sidebar.
- Click Load Temporary Add-on....
- Select the
manifest.jsonfile from this repository.
Navigate to any GitLab Merge Request. The extension will automatically activate.