Training
Module
Collaborate with pull requests in Azure Repos - Training
Collaborate with pull requests in Azure Repos
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Some repositories, including the .NET repositories, don't have the "PR Merger" web hook enabled, which automatically merges minor PRs. This article describes the PR review process for those repositories. The PR review process was designed with these goals:
The processes continue to evolve as teams innovate and as the platform matures.
One of the content team members reviews every PR. Content team members may request a review from the specific product team members to verify technical accuracy. The content team uses GitHub's Code Ownership feature to automatically request reviews from content team members. As part of this process, a reviewer may tag other team members to review internal PRs. Team members see requested reviews from team members and community members in the same queue.
Community members can review PRs and provide feedback as well. However, at least one member of the core content team must approve any PR before it is merged.
Reviews follow one of the three paths based on the PR:
The processing used by the Contributor License Agreement (CLA) bot is a good guideline for the distinction between "small" and "large" contributions. PRs that do not require the CLA to be signed are likely "small." PRs that do require the CLA are likely "large."
The changes in small PRs are reviewed for accuracy and checked using the build on the review site. Because they are small, these PRs do not trigger a review of the entire article.
Reviewers may notice other small changes that would improve an article. If those changes are also small, suggest them as review comments. If the suggested changes would trigger a larger review, open an issue and address those later.
Larger PRs undergo a more thorough review. The following are all checked:
Content team members will review the PR and submit the review with comments. If only minor changes are requested, team members may "approve" the PR with the feedback. The author can then address the feedback and merge the PR. Most reviews will request changes and when those changes are made, the reviewer will review again.
If the edits require a technical review, the content team reviewer will request a review from the appropriate product team member.
You may want feedback earlier in the process. Open a draft PR and add a comment that requests an early review. These early reviews focus on the structure of the article: the outline, the overall content, and the samples. These reviews do not include a thorough check for grammar and correct links.
GitHub lets you enter comments in triple-back-tick blocks of type suggestion
that are displayed as a diff and can be merged by clicking a button. On short lines, GitHub does a good job of highlighting the changes. On longer lines, such as a long paragraph in one line of text, GitHub doesn't highlight the changes. When entering a suggestion for a long line, notice whether your changes are clearly highlighted. If the changes aren't highlighted, include comments outside the suggestion block explaining what you changed. Without an explanation it's often time-consuming for subsequent reviewers or the PR author to figure out what the changes are.
The author updates the PR to respond to comments. If the author disagrees with the comment, or addresses the comment in a different PR, the author adds a comment explaining their change.
The author @-mentions the original reviewer in a comment to request a new review.
Content team members will typically review new PRs in under two business days.
Once a review has been submitted, authors should try to respond to comments in a week or less. Volunteers may not be able to meet these expectations because of other commitments. In those cases, team members ask if the community author will update the PR. If not, the team member updates and merges the PR for them.
Training
Module
Collaborate with pull requests in Azure Repos - Training
Collaborate with pull requests in Azure Repos