teoxoy / profile-readme-stats

Showcase your github stats on your profile README.md
https://github.com/marketplace/actions/profile-readme-stats
MIT License
259 stars 88 forks source link

Commit count is wrong #30

Open amit-bhandari opened 5 months ago

amit-bhandari commented 5 months ago

My profile is showing 121 commits in readme.

But I have thousands of commits across private and public repo's. I have provided private repo access too. Even without private repos, commit count should definitely be more than 121 commits.

Just in 2024, I have more than 1000 contributions.

image
teoxoy commented 5 months ago

I haven't tried the new github tokens, they are advertised as finer-grained so it could be that you need to give more access. Maybe to repos in other orgs as well?

amit-bhandari commented 5 months ago

I am using legacy token, not the newer ones. I left that organisation where my previous commits were there. But they all show up in my Github profile but not in this action.

teoxoy commented 4 months ago

I tried to see what the REST API returns and I'm getting different numbers from it compared with the GraphQL API... I'm also getting different numbers by using the new token vs the legacy one 😅

amit-bhandari commented 2 months ago

This might be related. https://github.com/orgs/community/discussions/24812

GraphQL API does not support this