23 / 57 · 17 Git & Version Control · Pull Request Workflows← prev⊞ allnext →☰ Read as one page
3.6PR Workflow Automation
Required Checks
Configure your repository to require specific checks before merging:
Branch protection rules for main:
✅ Require pull request reviews (1 approval minimum)
✅ Require status checks (unit-tests, integration-tests, lint)
✅ Require branches to be up to date before merging
✅ Require conversation resolution before merging
Auto-Assignment
Use CODEOWNERS to automatically assign reviewers based on changed files:
# .github/CODEOWNERS
tests/ @qa-team
playwright.config.ts @qa-team
.github/workflows/ @qa-team @devops-team
PR Templates
Create a .github/pull_request_template.md to standardize PR descriptions:
## What
<!-- What changed? -->
## Why
<!-- Why was this change needed? -->
## How to verify
<!-- Steps to verify the change works -->
## Checklist
- [ ] Tests pass locally
- [ ] No hardcoded credentials or URLs
- [ ] Test names are descriptive
- [ ] PR is reasonably sized (< 400 lines)