Compare commits
1 Commits
perplexity
...
timmy/orch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7399c83024 |
@@ -397,7 +397,7 @@ def assign_issue(repo, number, agent_name):
|
||||
if not result:
|
||||
return False
|
||||
|
||||
current = [a.get("login", "") for a in result.get("assignees", [])]
|
||||
current = [a.get("login", "") for a in (result.get("assignees") or [])]
|
||||
if agent_name in current:
|
||||
print(f" Already assigned to {agent_name}")
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user