I have started using CODEOWNERS and teams.yml files to direct auto PR review requests, and it works quite well.
My dev team is splitting from one big team to two small teams, but who can work where is not changing. That is to say both teams still own all the code.
What I need to be able to do is direct a PR to only select as it's reviewers devs from the other members of the same team.
I have not found a way to do that with the CODEOWNERS file based on the information I have read here - https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-code-owners/
Is that something like that is possible?
G'day, @Ian Greulich
Welcome to the community!
If I understand this correctly, you want to streamline the code review process by assigning pull requests to only the members of the same smaller team? If yes, I believe this is not directly supported by CODEOWNERS
as it's traditionally used for assigning reviews based on file ownership, not dynamic team-based logic.
Perhaps you can consider splitting them into a different groups rather than one big groups.
Regards,
Syahrul
> Perhaps you can consider splitting them into a different groups rather than one big groups.
Unfortunately that is not an option.
Is it disappointing in how rigid CODEOWNERS truly is.
Oh well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.