Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build/cmd/gerritbot: Gerrit asks PR author to review their own change #30265
PR author @nwidger then replied:
This is a tracking bug to understand why that happened and ideally prevent that message.
This is due to the inability of a user to upload changes as another person. Ideally the owner of the change is the original author, but in the case where gerritbot uploads a change to Gerrit, it automatically adds the author of the commit as a reviewer. I remember asking the Gerrit team about impersonating another user, but that requires engineering work on the Gerrit side as it’s a new feature. I’ll ask around if there’s anything that can be done to make this less confusing.