How do the PR stats work? #1686
-
I've made a couple of PR's that have been approved and merged, yet it keeps showing me 0 PR's for my github. And my commits aren't accurate. I've made more commits than what's showing there for this year |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@ionknowmyname Thanks for your interest in our tool. The PRs update according to this graphQL query: query userInfo($login: String!) {
user(login: $login) {
repositories(first: 100, orderBy: {direction: DESC, field: STARGAZERS}) {
totalCount
nodes {
name
pullRequests(first: 1) {
totalCount
}
}
}
}
} {"login": "ionknowmyname"} You can test it out on https://docs.github.com/en/graphql/overview/explorer. For your account, I see that none of your Public repositories has a pull request. As a result, when using the public Vercel instance, which has no permissions to get data about your private repositories, the PR on the card are shown as Also please be aware that we use a cache to update the card so it might take up to 4 hours for your PR to show up (see https://github.com/anuraghazra/github-readme-stats#common-options). |
Beta Was this translation helpful? Give feedback.
@ionknowmyname Thanks for your interest in our tool. The PRs update according to this graphQL query:
You can test it out on https://docs.github.com/en/graphql/overview/explorer. For your account, I see that none of your Public repositories has a pull request. As a result, when using the public Vercel instance, which has no permissions to get data about your private repositories, the PR on the card are s…