Skip to content
GitHub PR Merge Strategy Restrictor

GitHub PR Merge Strategy Restrictor

by sharmadhiraj
4.7
3 reviews
78
users
Published
December 12, 2025

Screenshots

GitHub PR Merge Strategy Restrictor screenshot 1
GitHub PR Merge Strategy Restrictor screenshot 2

Description

This extension helps you control GitHub PR merge strategies based on source and destination branches and repos. Since GitHub doesn't support this feature, I built it to prevent mistakes, like using the wrong merge strategy. For example, I squash all merges except when merging to master, but sometimes I make a mistake in the flow. This extension ensures that doesn't happen. You can define rules with exact branch names, wildcards, or patterns, making it flexible for different scenarios. Example Restriction Rules: - You can specify exact names for the repository and branches. - Use * to apply the rule to all repositories or branches. - Use wildcards like company-name/* to match all repositories starting with 'company-name' or feature/* for all branches starting with 'feature/'. - You can combine these options, such as using * for the repository, an exact name for the source branch, and a wildcard for the destination branch, or any combination of these.
Add to Chrome

Quick Info

Version
1.0.4
Size
67.83KiB
Price
Free
Type
Extension

Categories

Languages

English (United States)