-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GitHub review API to populate the reviewer(s) #189
Comments
Something else that could be pretty cool - Bors could add
Git has a built in way to add and (I think) dedupe these, |
It would be cool if we could make the review workflow more GitHub-native, I agree. One issue with GH approvals is that in rust-lang/rust, everyone with write permissions can approve PRs (and there are a lot of people with write permissions, to enable issue management). But I suppose that the bot could still filter people who have approved the PR, but are also in the |
It looks like the "triage" role from GH might allow issue management without being able to approve reviews, would that work? https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role. I guess filtering would be pretty easy if something more fine grained is needed. |
Triage is not enough, as you cannot manage labels with it and edit comments/issues. But as I said, this specific thing is not an issue, we can just check through the team permissions if the approvers have the correct rights :) |
One thing that is different with the github review list is the stale reviews. I know github has a nudge for stale reviews however, right now with bors if there is a change in the contents and someone else (not the main reviewer) approves the changes after the main reviewer has approved the PR they typically add the main reviewer as part of the review chain in r+ in this way, they wouldn't be able to add them back because the main reviewer hasn't "approved it". Just something to be aware of. Edit: after writing this i thought about rollup prs, typically those dont get reviews and just get merged rust-lang/rust#134414 i suppose a variant of |
Just an idea, what if
@bors r+
and@bors r=somebody
were removed in favor of@bors merge
? Then:@bors r=my-username,somebody-else
)@bors merge
gets listed as the git commit committerThe advantages I see here are:
r+
to find everyone who left a green check or saidr=me
@bors merge
r as the committer means history will show "authored by Bob, committed by Alice" for some review context, rather than Bors always being the committer. This is some better use of Git flow and shows up nicely in GH's UIThe text was updated successfully, but these errors were encountered: