teoxoy / profile-readme-stats

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

Feature Request: Code Reviews #9

Closed aitikgupta closed 3 years ago

aitikgupta commented 3 years ago

Hi, thanks for the amazing utility. 💯 I was wondering if it's feasible enough to provide support for Code Reviews?

There are 4 pillars to GitHub's activity overview - Commits [supported], Pull Requests [supported], Issues [supported], and lastly Code review [unsupported] image

I don't think (?) there's a straightforward GraphQL query that GitHub provides (could be wrong).

Is there any workaround (if it's even feasible)?

teoxoy commented 3 years ago

Thanks!

I think you can get that info by adding totalPullRequestReviewContributions here: https://github.com/teoxoy/profile-readme-stats/blob/57da79551137662a3025d908c0e8015d6298f4f0/src/main.ts#L196

I don't have the bandwidth to add this now though. PRs are welcome