This feature will automatically adjust the labels on a pull request when a reviewer sends a review with changes requested.
When creating a pull request review, click the “Request Changes” option when finishing the review. This will automatically remove the review labels, and add a new label to indicate that the PR is waiting on the author.
This feature is enabled on a repository by having a
[review-submitted] table in
[review-submitted] # These labels are removed when a review is submitted. review_labels = ["S-waiting-on-review"] # This label is added when a review is submitted. reviewed_label = ["S-waiting-on-author"]