Prevent incorrect merges on GitHub's pull request.
GitHub Merge Guardian Extension
With this extension, you can easily control the merge method for pull requests. Add configurations to apply the appropriate merge method based on the combination of repositories and branches.
Features:
- Users can add multiple configurations consisting of repository name, base branch, compare branch, and merge strategy.
- An asterisk (*) can be used as a wildcard in each item.
- When the configuration matches, the color of the merge button is changed to prevent incorrect merges.
- The extension only changes the button color, allowing merges with strategies other than the specified one.
- The color is customizable.
Example:
- For merges into the develop branch, use squash merge by default. However, for merges from release/* branches, use create merge commit.
Disclaimer:
This extension is not affiliated with, sponsored by, or endorsed by GitHub, Inc.
Contact:
For any issues - open an issue on https://github.com/daku10/github-merge-guardian/issues
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"icons":{"16":"icon16.plasmo.754a7afc.png",
"32":"icon32.plasmo.1b596b7f.png",
"48":"icon48.plasmo.9c45e82d.png",
"64":"icon64.plasmo.696cf0ec.png",
"128":"icon128.plasmo.f5004619.png"},
"manifest_version":3,
"action":{"default_icon":{"16":"icon16.plasmo.754a7afc.png",
"32":"icon32.plasmo.1b596b7f.png",
"48":"icon48.plasmo.9c45e82d.png",
"64":"icon64.plasmo.696cf0ec.png",
"128":"icon128.plasmo.f5004619.png"},
"default_popup":"popup.html"},
"version":"1.2.0",
"author":"daku10",
"name":"GitHub Merge Guardian",
"description":"Prevent incorrect merges on GitHub's pull request.",
"background":{"service_worker":"background.b78a8f7f.js"},
"options_ui":{"page":"options.html",
"open_in_tab":true},
"permissions":["storage"],
"content_scripts":[{"matches":["https://github.com/*"],
"js":["github.9166b8a4.js"],
"css":["github.990e13ee.css"]}],
"host_permissions":["https://github.com/*/pull/*"]}
How to download and manually install GitHub Merge Guardian extension for Chrome
Looking for a way to install GitHub Merge Guardian extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install GitHub Merge Guardian extensions manually, this article outlines two simple methods to effortlessly install GitHub Merge Guardian extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download GitHub Merge Guardian extension and manually install through Drag &Drop
If you ever need to manually install a GitHub Merge Guardian extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the GitHub Merge Guardian Extension by clicking the "Download CRX" button on the website.
Look for the GitHub Merge Guardian extension you wish to install. Go to the website and download the GitHub Merge Guardian extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for GitHub Merge Guardian extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the GitHub Merge Guardian extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download GitHub Merge Guardian extension for Chrome and install in Developer Mode
This is another method to install GitHub Merge Guardian extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the GitHub Merge Guardian extension file
Select and download the GitHub Merge Guardian extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the GitHub Merge Guardian extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your GitHub Merge Guardian extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the GitHub Merge Guardian extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install GitHub Merge Guardian extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
Agfa JIRA 137 2 ★ 22.96KiB
Extractify 137 2 ★ 476KiB
Golink 137 0 ★ 481KiB
Blueprint 137 3 ★ 2.02MiB
Agency Toolchest 137 2 ★ 602KiB
PesoX 137 4 ★ 494KiB
GitHub PR images comparer 137 1 ★ 13.65KiB
Add to Benevolist.org Button 137 0 ★ 26.28KiB
TapToCopee - Copy Text Button for ChatGPT 137 0 ★ 21.71KiB
GoPenAI 137 5 ★ 24.11KiB
Divvy Invite 137 0 ★ 1.53MiB
YouTube Thumbnails 137 0 ★ 9.87KiB
ReadAnything 137 1 ★ 1.05MiB
Synqnest 137 5 ★ 12.47MiB
GitHub S&M Blocker 137 5 ★ 147KiB
Review Badge 137 1 ★ 17.92KiB
Uncropper 137 1 ★ 17.2KiB
GitLab CI Lint - UI Enhancer 137 0 ★ 25.49KiB
SharePrompts: Share your ChatGPT,Bard Prompts 137 1 ★ 342KiB
Hacker News Duplicate Detector 137 1 ★ 21.7KiB
Linkedly 137 2 ★ 34.88KiB
Left Unread 137 4 ★ 25.15KiB
Houidini 137 3 ★ 15.84KiB
Ferret 137 7 ★ 723KiB