oliyh / stardev-feedback

Capturing feedback for https://stardev.io
6 stars 0 forks source link

Starred forked repos #21

Open jdegand opened 1 week ago

jdegand commented 1 week ago

Forks with stars are not counted. GitHub API makes no distinction or would this require a separate API call ?

oliyh commented 1 week ago

Hi,

This is by design - only repositories you "own" get counted, and this does not include forks. The GraphQL query is:

repositories(isFork: false, privacy: PUBLIC, ownerAffiliations: OWNER) {
     ...repositoryFields
}