GitHub Merge Guardian is a browser extension that helps to prevent incorrect merges on GitHub Pull Request pages by changing the merge button color.
- Configure multiple rules based on owner, repository name, base branch, compare branch, and merge strategy.
- Use * as a wildcard in each item.
- Change the merge button color to draw attention when the merge strategy doesn't match the configured rules.
- Merge button color change only indicates the suggestion; you can still perform other merge strategies if needed.
- Customize the merge button color.
- Click the extension icon in the toolbar to access the popup settings.
- Add rules based on owner, repository name, base branch, compare branch, and merge strategy.
- Customize the merge button color if desired.
- Use squash merge for merging into the develop branch, but use create merge commit for merges from release/* branches.
By using GitHub Merge Guardian, you can easily control the merge strategies of your pull requests. Add your custom rules to apply the appropriate merge strategy depending on the repository and branch combination.
This extension is not affiliated with, sponsored by, or endorsed by GitHub, Inc.
This project is licensed under the MIT License. See the LICENSE file for details.