teoxoy / profile-readme-stats

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

Commit count is wrong #30

Open amit-bhandari opened 3 weeks ago

amit-bhandari commented 3 weeks 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 3 weeks 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 3 weeks 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 1 week 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 😅