★ GitHub: review only files owned by you
• 117 words • 1 min
If you use
CODEOWNERS
on GitHub, there is a neat1 feature to streamline your pull request reviews.
Arguably, in large codebases, you’re only interested in reviewing files owned by you or your team. Wouldn’t it be great if you could filter out files that you do not own?
This turns out to be possible.
Workflow:
- go to a given pull request
- click “Files changed” in the top navbar (it’s the last tab)
- on the left sidebar, click the filter button
- click “Only files owned by you”
Boom. The file noise is gone now!
In case you can’t easily spot the filter button, take a look at the screenshot in the link above.
-
Neat and hard to discover! ↩︎