Skip to content

Commit

Permalink
[ci] update assignees and reviewers on PR github update (#10168)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-goldstein authored Mar 10, 2021
1 parent c456b7e commit bcb0f3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/ci/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ def update_from_gh_json(self, gh_json):
assert self.number == gh_json['number']
self.title = gh_json['title']
self.author = gh_json['user']['login']
self.assignees = {user['login'] for user in gh_json['assignees']}
self.reviewers = {user['login'] for user in gh_json['requested_reviewers']}

new_labels = {label['name'] for label in gh_json['labels']}
if new_labels != self.labels:
Expand Down

0 comments on commit bcb0f3b

Please sign in to comment.