Adding pr-opened-by
option to required-review action
#30866
paveldedik
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Thanks for starting the discussion!
I assume that in this case, just setting the requirement to getting a review from someone else in |
Beta Was this translation helpful? Give feedback.
2 replies
-
I can think of two ways this might be done.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I forked https://github.com/Automattic/action-required-review to https://github.com/paveldedik/action-required-review
It adds the following option (we have a need for that in our company):
This means the required review is unnecessary if the
DevOps
team opened the PR. It might seem weird to allow that, but consider the following scenario:Would you be interested in adding this to the main action? This option is kind of weird and the solution you can check here is not the cleanest probably: paveldedik/action-required-review@f35d16b#diff-653820f7683f5805a61ece3efebfe7eb3617f3e8c1c7319f67b7a4096f7c389e
So maybe it should stay in the fork. But if you want, I can send the PR.
Beta Was this translation helpful? Give feedback.
All reactions