To help customise your workflow, you can set checks to control when a pull request can be merged. Pull requests cannot be merged if the required checks have not been met. These checks are set separately on each repository in a Stash project.
You'll need either project admin, admin or sys-admin permissions to set merge checks for pull requests.
So, to set merge checks for pull requests, go to a repository in a project and choose Settings > Pull requests. Stash includes the merge checks described below, or you can write your own merge request check plugin.
|
Select this option to block merging of a pull request until it has been approved by at least the selected number of participants.
Select this option to stop a pull request from being merged if any review tasks are still unresolved. Read more about pull request tasks.
