-
Notifications
You must be signed in to change notification settings - Fork 139
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
needs-approver-review: avoid labelling PRs with changes requested #3763
needs-approver-review: avoid labelling PRs with changes requested #3763
Conversation
GitHub search currently lacks being able to query for PRs that are missing a review by an approver, since the concept of approver vs. reviewer is introduced via OWNERS, which GitHub doesn't know about. This change adds a condition to the search query that selects PRs to label with `needs-approver-review` in order to exclude PRs where changes have been requested. Signed-off-by: Daniel Hiller <[email protected]>
Skipping CI for Draft Pull Request. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhiller The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@dhiller: Updated the
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
GitHub search currently lacks being able to query for PRs that are missing a review by an approver, since the concept of approver vs. reviewer is enforced via OWNERS, which GitHub doesn't know about.
This change adds a condition to the search query that selects PRs to label with
needs-approver-review
in order to exclude PRs where changes have been requested.Important
For this to work approvers need to explicitly request changes on the review though
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
/cc @jean-edouard @brianmcarey
FYI @vladikr @alicefr