# collab: Add \`copilot\` name alias to the \`GET /contributor\` endpoint \(\#44958\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/81519ae9233924007d37171db96f8bc99eeb00d2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 81519ae9233924007d37171db96f8bc99eeb00d2

Requested commit: 81519ae9233924007d37171db96f8bc99eeb00d2

Commit: 81519ae9233924007d37171db96f8bc99eeb00d2

Tree: a5d70dbc68a6bdb4dcabedbf7866793d9f75e64f

Author: Finn Evers

Committer: GitHub

## Message

```
collab: Add `copilot` name alias to the `GET /contributor` endpoint (#44958)

Although the copilot bot integration is referred to by
`copilot-swe-agent[bot]`
(https://api.github.com/users/copilot-swe-agent[bot]), GitHub parses the
copilot identity as @\copilot in some cases, e.g.
https://github.com/zed-industries/zed/pull/44915#issuecomment-3657567754.
This causes the CLA check to still fail despite Copilot being added to
the CLA endpoint (and https://api.github.com/users/copilot returning a
404 for that very name..).

This PR fixes this by also considering the name alias of Copilot for the
`contributor` endpoint.

Release Notes:

- N/A
```

## Parents

- [5f054e8d9c227e206e7dd3379c81911aa8e652c2](https://git.cafe/gitcafe/zed/commit/5f054e8d9c227e206e7dd3379c81911aa8e652c2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/81519ae9233924007d37171db96f8bc99eeb00d2?format=markdown)
