Skip to content

Commit d5212de

Browse files
committed
review
1 parent e641d0d commit d5212de

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/scripts/pull-request-dashboard.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,7 @@ def ts_text(ts: datetime | None) -> str:
558558

559559
def is_copilot_review(review: dict[str, Any]) -> bool:
560560
login = actor_login(review.get("user") or {}).lower()
561-
if not login:
562-
return False
563-
return "copilot" in login and (login.endswith("[bot]") or "pull-request-reviewer" in login)
561+
return login == "copilot-pull-request-reviewer[bot]"
564562

565563

566564
def latest_copilot_review_clean(reviews: list[dict[str, Any]], review_comments: list[dict[str, Any]]) -> tuple[bool, bool]:

0 commit comments

Comments
 (0)