Skip to content

Commit edefce1

Browse files
authored
Hard-code Copilot URL (#6905)
Fixes #6868
1 parent 4b0d1bf commit edefce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ export function parseAccount(
594594
// In some places, Copilot comes in as a user, and in others as a bot
595595
return {
596596
login: author.login,
597-
url,
597+
url: COPILOT_ACCOUNTS[author.login]?.url ?? url,
598598
avatarUrl: githubRepository ? getAvatarWithEnterpriseFallback(avatarUrl, undefined, githubRepository.remote.isEnterprise) : avatarUrl,
599599
email: author.email ?? undefined,
600600
id,

0 commit comments

Comments
 (0)