-
Notifications
You must be signed in to change notification settings - Fork 812
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
Bug in action-required-review #41933
Comments
OpenAI suggested the following labels for this issue:
|
I'm hesitant to consider this a bug. Ideally your organization shouldn't have a single point of failure in If we do decide to do something about this, I'd prefer adding a condition (name TBD), which for everything under it effectively considers the author as having self-reviewed. That way you would do like
to allow Or possibly we could do
|
Thanks for the quick reply. In general, it is a common situation when one user is a codeowner of some part of the repository and he can make a pull-request to this part. And now we have a situation that it will be impossible to merge such PR. An author is excluded from the team at the review request stage. In my opinion, the same thing should be done here. |
Sometimes people want to allow someone (or some team) to "self-review" code. GitHub doesn't support self-reviews directly, but we can assume that the author has reviewed their own PR in the writing of it. Also, this is well past needing some automated testing. Add some for the file being touched here. Fixes #41933
Decided against this once I realized that you could wind up with a config that only allowed PRs with a particular author, and then the "request review" feature would have nothing to request. |
Impacted plugin
Jetpack
Quick summary
action-required-review will never satisfy requirements if @someuser is an author of a PR and requirements are configured like this:
It's impossible to make a self-review and impossible to merge the PR. An empty team should be excluded from the requirements check. An empty virtual team for @someuser in this case/
Steps to reproduce
Result: Requirement "Misc" is not satisfied by the existing reviews.
Expected result: Requirement "Misc" is satisfied by the existing reviews.
Site owner impact
Fewer than 20% of the total website/platform users
Severity
Major
What other impact(s) does this issue have?
No response
If a workaround is available, please outline it here.
No response
Platform (Simple and/or Atomic)
No response
The text was updated successfully, but these errors were encountered: