Skip to content

Private contributions not included #4163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
matinsekhavat opened this issue Mar 2, 2025 · 2 comments
Open

Private contributions not included #4163

matinsekhavat opened this issue Mar 2, 2025 · 2 comments
Labels
enhancement New feature or request.

Comments

@matinsekhavat
Copy link

Is your feature request related to a problem? Please describe.

I'm using the GitHub readme stats cards in my profile README with the following configuration:

GitHub Stats

However, my private contributions are not being included in the statistics despite using the count_private=true parameter. According to the documentation, this parameter should include private contributions in the stats count.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@matinsekhavat matinsekhavat added the enhancement New feature or request. label Mar 2, 2025
@albert-byiringiro
Copy link

albert-byiringiro commented Apr 10, 2025

Hi @matinsekhavat,

Could you clarify if you've already checked the documentation section on forking this repository and deploying your own instance? Alternatively, are you attempting to pass the count_private parameter to the GitHub stats API?

Let me know so I can assist further!

@Drjacky
Copy link

Drjacky commented Apr 18, 2025

Hi @matinsekhavat,

Could you clarify if you've already checked the documentation section on forking this repository and deploying your own instance? Alternatively, are you attempting to pass the count_private parameter to the GitHub stats API?

Let me know so I can assist further!

Yes, I deployed my own instance and passed &count_private=true.
The only thing is I have changed all https://api.github.com/graphql to process.env.MY_COMPANY_GITHUB_GRAPHQL and https://api.github.com/search to process.env.MY_COMPANY_GITHUB_SEARCH, which refers to my company enterprise address. It works for my public repos in that github enterprise but not for private.

P.S. I have added PAT_1 into enterprise.

Maybe it's because of Git Scope. If I select my github enterprise username, Vercel is free and if I select my company username as Git Scope, it changes to Pro plan and asks to pay:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants