Merge method rule [GA] (#54698)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
@@ -131,10 +131,7 @@ For complex pull requests that require many reviews, requiring an approval from
|
||||
Optionally, you can require all comments on the pull request to be resolved before it can be merged to a branch. This ensures that all comments are addressed or acknowledged before merge.
|
||||
|
||||
{% ifversion repo-rules-merge-type %}
|
||||
> [!NOTE]
|
||||
> Allowed merge method is currently in public preview, the rule is currently non-bypassable, and subject to change.
|
||||
|
||||
Optionally, you can require a merge type of merge, squash or rebase. This means the targeted branches may only be merged based on the allowed type. Additionally if the repository has disabled a merge method and the ruleset required a different method, the merge will be blocked. For more information, see [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github).
|
||||
Optionally, you can require a merge type of merge, squash, or rebase. This means the targeted branches may only be merged based on the allowed type. Additionally if the repository has disabled a merge method and the ruleset required a different method, the merge will be blocked. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github).
|
||||
{% endif %}
|
||||
|
||||
## Require status checks to pass before merging
|
||||
|
||||
Reference in New Issue
Block a user