🔴 FREE LIVE WEBINAR
How to Become a DevOps Engineer in 2027
From Zero to DevOps Champion!
November 21st, 2026 | 9:30 AM CST
Live DevSecOps CI/CD Demo
Career Roadmap • Live Q&A
🚀 REGISTER FOR FREE
🚀 NEW WEEKEND BATCH
AI-Enabled DevSecOps & Cloud Engineering Bootcamp
Starts December 5th, 2026
Sat: 9:30 AM – 11:30 AM CST
Sun: 10:30 AM – 12:30 PM CST
15 Weeks • 70+ Labs • Live Training
EXPLORE BOOTCAMP →
3,500+
Students Trained
25+
Years of IT Experience
70+
Hands-On Labs
🔴 FREE Webinar | Nov 21 Register Free
🚀 New Batch | Dec 5 Explore Bootcamp
🎁 FREE Career Roadmap Get Roadmap

Friday, January 24, 2025

How to create Pull Request (PR) templates in Azure Repos? | Creating pull request template in Azure Repos


Watch steps in YouTube channel:

Azure Repos allows you to create Pull Request (PR) templates to standardize and streamline the PR process for your team. This ensures that all necessary information is included, making the review process more efficient. 

Step-by-Step Guide

  1. Navigate to Your Repository:

    • Go to the Azure Repos repository where you want to create a PR template.
  2. Create a .azuredevops Directory:

    • create a new directory named .azuredevops in the root of your repository. This is where Azure Repos looks for configuration files, including PR templates.
  3. Create a PULL_REQUEST_TEMPLATE File:

    • Inside the .azuredevops directory, create a file named PULL_REQUEST_TEMPLATE.md. This file will contain the template for your pull requests.

      4. Add Template Content:

  • Open the PULL_REQUEST_TEMPLATE.md file and add the content you want to include in your PR template. You can use Markdown to format the template. Here’s an example of a basic PR template:

## What type of PR is this? (check all applicable)
- [ ] 🍕 New Feature
- [ ] 🎨 Enhancment Feature
- [ ] 🐛 Bug
## Describe about your code changes
<!-- 
Please do not leave this blank 
This PR [adds/removes/fixes/replaces] the [feature/bug/etc]. 
-->
## Related Feature & Documents
<!-- 
Please use this format link issue numbers: Fixes #123
-->
## Screenshots/Recordings Link In Sharepoint
<!-- Visual changes require screenshots -->

## Created Unit tests, etc?
- [ ] 👍 yes
- [ ] 🙅 no, because they aren't needed
- [ ] 🙋 no, because I need help
## Added to documentation?
- [ ] 📜 README.md
- [ ] 📕 wiki
- [ ] 🙅 no documentation needed
## [optional] Are there any post-deployment tasks we need to perform?

    5. Commit and Push:

  • Commit the PULL_REQUEST_TEMPLATE.md file to your repository and push it to Azure Repo.

git add .azuredevops/PULL_REQUEST_TEMPLATE.md 
git commit -m "Add pull request template" 
git push origin main


1 comment:

  1. Nice post, it walks through creating PR templates in azure devops in a practical way, especially using the azuredevops folder and Markdown structure. One useful addition could be covering branch specific templates or multiple templates, since Azure Repos supports different templates based on target branches, which can help teams enforce more context specific reviews and improve consistency across workflows.

    ReplyDelete

FREE LIVE WEBINAR | How to Become a DevOps Engineer in 2027

 🚀 Your Future in DevOps Starts Here! New Skills. New Opportunities. A New Career Direction. The world of technology is evolving faste...