DenverCoder1 / github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
https://streak-stats.demolab.com
MIT License
4.66k stars 721 forks source link

Counting non default branches #225

Closed CuzImBisonratte closed 2 years ago

CuzImBisonratte commented 2 years ago

Is your feature request related to a problem? Please describe. I'm Frustrated, that when i contribute to any branch thats not the default branch, it doesn't count, even though im Contributing.

Describe the solution you'd like Also contributions that aren't on the default branch of a repository will be counted.

DenverCoder1 commented 2 years ago

The Github API only displays commits made on the default branch or gh-pages branch.

There are many things that I find annoying about GitHub's contributions API but there isn't really much I can do about it

https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile

The way the streak stats counts contributions will remain however GitHub counts them as that is what is provided by the contributions API.