Skip to content

Handle deleted user in the assignee list#7

Merged
seanlip merged 2 commits intodevelopfrom
handle-deleted-user-2
Feb 1, 2025
Merged

Handle deleted user in the assignee list#7
seanlip merged 2 commits intodevelopfrom
handle-deleted-user-2

Conversation

@kevintab95
Copy link
Member

This run (https://github.com/oppia/oppia/actions/runs/13056262032) seems to have failed on a PR which had been reviewed by a now deleted user. This PR updates the code to handle this scenario.

"""

for assignee in pr_dict['assignees']:
if event['assignee'] is None or assignee is None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevintab95 Could you please add a comment explaining the circumstances here before we merge this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update -- I went ahead and made the change.

@seanlip seanlip merged commit 265e48e into develop Feb 1, 2025
3 checks passed
@SD-13
Copy link
Contributor

SD-13 commented Feb 5, 2025

@kevintab95 I am curious to see the PR, can you share it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants