Skip to content
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

Option to disable stats from private repos #84

Open
fritzrehde opened this issue Dec 13, 2022 · 3 comments
Open

Option to disable stats from private repos #84

fritzrehde opened this issue Dec 13, 2022 · 3 comments

Comments

@fritzrehde
Copy link

I think it's a cool feature that data from private repos is also considered. However, I would like to only include data from my public repos. Is this possible?

@fritzrehde
Copy link
Author

fritzrehde commented Jan 9, 2023

I read through the GitHub graphql documentation and found out that I can just add the line privacy: PUBLIC to github-stats.py and only public repos will be considered!

@fritzrehde
Copy link
Author

A better way to customize this would probably be through a secret like the EXCLUDED customizations, so I will leave this open for now. But anyone using github-stats has forked/copied the repo anyways, and can, therefore, make these changes easily themselves.

@R055A
Copy link

R055A commented May 2, 2023

Hi @fritzrehde. This feature has been implemented for some time now in the following modification with a simple boolean SECRET named EXCLUDE_PRIVATE_REPOS: modified repository with additional options

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

No branches or pull requests

2 participants