mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2024-12-22 07:55:39 +00:00
Don't assign reviewers to closed PRs
This commit is contained in:
parent
49b3dc245d
commit
5eb5739f03
|
@ -94,6 +94,10 @@ class UpdateReviewers(GithubSubcommand):
|
|||
self.logger.warning("Not assigning reviewers for draft PRs")
|
||||
return 0
|
||||
|
||||
if pull_request.closed_at is not None or pull_request.merged_at is not None:
|
||||
self.logger.warning("Not assigning reviewers for closed PRs")
|
||||
return 0
|
||||
|
||||
pull_request_author = pull_request.user.login
|
||||
|
||||
for label in pull_request.labels:
|
||||
|
|
Loading…
Reference in a new issue