Skip to content

Skip Copilot contributor - #824

Open
quapka wants to merge 1 commit into
ossf:mainfrom
quapka:skip-copilot
Open

Skip Copilot contributor#824
quapka wants to merge 1 commit into
ossf:mainfrom
quapka:skip-copilot

Conversation

@quapka

@quapka quapka commented Apr 3, 2026

Copy link
Copy Markdown

If Copilot appears among the contributors, the score calculation fails because its account cannot be retrieved. You can test that with the following query:

curl -H "Authorization: bearer $GITHUB_API_TOKEN" \
     -X POST \
     -d '{ "query": "query { user(login: \"Copilot\") { name } }" }' \
     https://api.github.com/graphql

For example, the score fails for https://github.com/richardkiss/pycoin. The relevant part of the error is Could not resolve to a User with the login of 'Copilot'. (type: NOT_FOUND)

If Copilot appears among the contributors, the score calculation fails,
because it's account cannot be retrieved. You can test that with the
following query:

```bash
curl -H "Authorization: bearer $GITHUB_API_TOKEN" \
     -X POST \
     -d '{ "query": "query { user(login: \"Copilot\") { name } }" }' \
     https://api.github.com/graphql
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant