Pull Request Merge Info

Applies to Collaborator 14.6, last modified on November 06, 2024

For reviews created by repository hosting service integrations the Pull Request Merge Info section is displayed. This section allows to check and change what action will be performed with pull request when current review will be accomplished:

Pull Request Merge Info section in Web Client

Click the image to enlarge it.

Default merge strategy is specified by the integration’s When review completed setting. Merge strategy selected in this section overrides the integration’s default merge strategy.

Note:

The exact merge strategy cannot be specified for GitLab and Bitbucket Server pull requests. If any of merge actions was chosen, pull request will be merged according to project settings on the GitLab or Bitbucket Server side. In GitLab these are specified in Settings > General > Merge requests, while in Bitbucket Server in Project settings > Merge strategies.

To learn more about pull request merge strategies, see documentation of the respective repository hosting service:

When user links new pull request to review Collaborator adds merge strategy settings for each PR in a separate tab.

Pull Request Merge Info section for several PRs

Click the image to enlarge it.

If review contains several pull requests from the same remote system (e. g., GitHub), user have possibility to enable Use for all pull requests option. In such case, selected configuration will be applied as common merge strategy for all linked pull requests and tab with this PR will be opened by default. Option could be checked-in for one PR in the review only; when user sets it for one PR then previously checked-in setting, if any, is set to un-checked.

Note:

Use for all pull requests is not supported for merge requests from GitLab integrations.

When user un-links PR from review Collaborator deletes a related tab with the settings.

Work With Pull Request Merge Info

By default, the section is displayed in the read-only mode. To modify pull request merge strategy, click Edit.

  1. Select the desired strategy in the Merge strategy drop-down. This control is active only when the integration’s Allow users to select merge strategy in review setting is set to "True". It lists only those actions that are available for the current repository hosting service integration.

  2. Depending on chosen action, you can specify additional information: whether to delete source branch, commit title and commit message and so forth.

See Also

Review Screen
Integration With Repository Hosting Services

Highlight search results