I have a CI / CD Pipeline configured in Azure DevOps Server 2019.
As soon as a pull request is created a new artifact triggers a release which deploys to the development server even if the pull request is not accepted. How can I restrict the release to server to only when pull request is completed.