Prevent incorrect merges on GitHub's pull request.

Latest Version

Version
1.2.0
Update
May 11, 2023
Size
306KiB
Developer
Category
Users
137
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

GitHub Merge Guardian Extension

This extension, \"GitHub Merge Guardian,\" is a tool designed to prevent incorrect merges on GitHub's pull request page.
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
Read more

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/*"]}
Read more