question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Showing the wrong PR numbers

See original GitHub issue

Describe the bug I have 140 closed PRs and 1 open or. But it’s showing only 47 prs in the Total PR field. Also, I put true in the count_private param. Here’s the link that I used: https://github-readme-stats.vercel.app/api?username=showrin&count_private=true And here’s my profile link: https://github.com/Showrin Is it showing the PR of this year only? If it is, then I think there should an identifier with the field like Total PR (2021).

Expected behavior It should show 141 in the Total PR field.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
florianbussmanncommented, May 11, 2021

@Showrin I just tried it myself and unfortunately count_private has no effect in this case.

However I get the total PR count, including those from private repos, on my own instance of github-readme-stats which uses a personal access token of my account that can read my private repositories. If you want to do the same you can find the base instructions to do this here: https://github.com/anuraghazra/github-readme-stats#deploy-on-your-own-vercel-instance

Contrary to the instructions, PRs from private repos still didn’t show up until I added the repo scope as shown below

image

https://github.com/anuraghazra/github-readme-stats/blob/fef8bc3a4a4ddb12a5c779e7cae18438231845a7/CONTRIBUTING.md#L72-L74

1reaction
anuraghazracommented, Jun 5, 2021

Great! thanks @florianbussmann for the clarification. And for helping on other issues too. 😃

Closing it now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Correct a mistake on your PR card - Canada.ca
If the wrong information is on your permanent resident (PR) card, you can fix it by getting your card reissued or by applying...
Read more >
3 Common PR Metrics You Are Probably Using Wrong - Blog
Impressions, clicks, and the number of mentions are the three PR metrics commonly mistaken as goals or results, rather than just simply ...
Read more >
Github showing an incorrect diff between main branch and PR ...
This is what the view on GitHub shows as well. In my pull request, I would expect to see a merge conflict, since...
Read more >
Wrong passport number linked to my PR card - Canadavisa.com
I recieved my first PR card yesterday but I checked online and they linked my son's passport number to my PR card.
Read more >
PR already ordered in full message when it is still open
When converting a PR to PO, it is showing an error message that, ... 1) Enter T-code ME53N, enter your purchase requisition number....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found