PR default reviewer is incorrect
Raising a PR to a main repo should use the owner of the main repo as the default reviewer. However it is currently using the owner of the forked repo as the default reviewer of the PR.
#1 Updated by Daniel D about 2 years ago
Are you sure that during your test you didn't use the same account?
e.g if owner of REPO1 is 'admin1' and owner of REPO1_FORK is 'admin2' it means if 'admin1' starts the review he will not be added as reviewer, but a fallback will be used. It's because the same person shouldn't review its own code.
Please provide more details of who was the owner, and who started the review/pull request.
#2 Updated by Arun Chandrasekaran about 2 years ago
Yes, I'm sure. Please look at the image below. Here the owner of the fork is Mahesh. He forked my repository and I pushed one of my test changeset to his fork and I asked him to raise a PR to my repo. The screen was captured when he raised the PR.
- His user name is
- The fork is in his personal repo.
- Author of the PR is shown as
- PR reviewer should've been me, as I'm the owner of the main repo or target repo. But that section contains
mahesh- which is a bug.
Does this explanation help?
#3 Updated by Daniel D about 2 years ago
- Status changed from New to In Progress
Ok, confirmed that we use the "current" user instead of target repo owner. Actually in EE edition it's fine, it's a misconfiguration of CE edition. We'll add a fix into the next bugfix release, thanks for posting this !!
#5 Updated by Redmine Integration over 1 year ago
- Status changed from In Progress to Resolved
3c9caf8ef3a6 by Marcin Kuzminski email@example.com on
default branch changed this issue.