Skip to content

Commit

Permalink
fix: ignore invalid content from GitHub in case of deleted teams
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Feb 27, 2024
1 parent ac9ab4a commit bd4f2de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions otterdog/providers/github/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ def _transform_actors(actors: list[dict[str, Any]]) -> list[str]:
result = []
for actor_wrapper in actors:
actor = actor_wrapper["actor"]
if actor is None:
continue

typename = actor["__typename"]
if typename == "User":
login = actor["login"]
Expand Down

0 comments on commit bd4f2de

Please sign in to comment.