Why: the goal or problem

A facilities app lets employees reserve meeting rooms. Its team already uses Azure DevOps and wants room-conflict fixes reviewed before entering main. Keeping that project’s permissions and checks together favors its repository service.

How: work toward a solution

Push a Git branch and open a pull request. In this example, main requires reviewer approval and build validation. A failed booking test holds up completion; after a fix, required checks and review permit merging.

A room-booking fix passes the configured gate before reaching main

Facility booking · Azure DevOps Git example

Set the gate before the merge.

PR / booking-conflict

Proposed fix: prevent overlapping room bookings

Required policies on main · example settings

01Reviewer approval
02Build validation
WAIT · booking test failed

Fix branch → new validation → review

↓ After requirements are metmain · Complete PR

Policies must be configured; bypass permissions can override the gate. This diagram is Git, not TFVC, and does not choose the app’s runtime host.

What: the concept

Azure Repos provides repositories in Azure DevOps. These are configured Git branch policies, not automatic guarantees. Bypass permissions matter. Azure Repos also supports TFVC; hosting code here does not require running the app on Azure.

Source