Skip to content
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

Handle deleted user in the assignee list #7

Merged
merged 2 commits into from
Feb 1, 2025
Merged

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.

@@ -199,6 +199,8 @@ def get_pull_request_dict_with_timestamp(
"""

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