BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Pull request workflow
Lesson233 words

Pull request workflow

Design and implement a pull request workflow

The two vocabularies

PlatformMechanism
Azure ReposBranch policies
GitHubBranch protection rules

Same intent, different names — and the exam uses both, so read the platform in the question.

What a policy can require

  • A minimum number of reviewers
  • Linked work items — the traceability chain, enforced
  • Comment resolution before completion
  • A successful build (build validation)
  • Status checks from external services

Automated checks first

Order the workflow so machines run before humans: lint, build and tests should fail before a reviewer spends attention. Human review is the scarcest resource in the pipeline, and spending it on something a linter would have caught is the most expensive kind of waste.

Reviewer count is not quality

Requiring four reviewers produces diffusion of responsibility, not four careful reviews — everyone assumes someone else looked properly. Two is usually the practical maximum, paired with code owners so the right person sees the change rather than merely enough people.

Merge behaviour

Squash produces a tidy linear history and loses individual commits. Merge commits preserve the branch's shape. Neither is universally correct — but pick one and enforce it, because a repository with a mixture is hard to reason about and harder to bisect.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/repos/git/branch-policies
  • https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.