To maintain the quality of your app, you can define policies that must be met before changes from the developer can be integrated into the selected branch.
Mostly, the policy is defined on the master branch, but it could be any branch you want to keep healthy. If you define the policy for a branch, changes cannot be pushed into this branch directly, but only through Pull Requests (PRs). See the Pull request section for more details. In this way, each change is checked and tested, and if the policy is not met, the change will not make it into the branch. You can define the following in the policy:
- The minimum number of reviewers: This is how many reviewers must approve the PR to be accepted.
- Check for linked work items: This forces developers to associate the PR with work items to have links between requirements and changes.
- Check for comment resolution...