Fragmented - Android Developer Podcast

239: Require PR Reviews with CODEOWNERS

Nov 28, 2022
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

CODEOWNERS File Usage

  • Use a CODEOWNERS file to require reviews for specific file changes.
  • This ensures the right people review code they're responsible for, preventing unwanted changes.
ADVICE

Team-Based CODEOWNERS

  • Organize the CODEOWNERS file by teams, not individuals.
  • This simplifies management when team members change, as you won't need to update the file constantly.
INSIGHT

Automated PR Blocking

  • GitHub automatically blocks pull requests until a code owner approves changes in their designated files.
  • This process ensures subject matter experts review relevant code, enhancing quality control.
Get the Snipd Podcast app to discover more snips from this episode
Get the app