Skip to content

Conversation

martin-mfg
Copy link
Owner

@martin-mfg martin-mfg commented Aug 6, 2025

This PR adds the "role" parameter to include repositories where the user is owner/collaborator/organization_member. This PR also renames parameters "owners" to "owner" and "repos" to "repo", to be in line with the parameter "exclude_repo".

The "role" parameter is based on work by @developStorm and @rickstaa.

Note that the new "role" parameter works only with statistics items fetched via GraphQL (for now), because the REST API doesn't offer the same functionality. In the REST API, filtering by affiliation/role is only possible for the authenticated user (see also here). We could add this later, if github-readme-stats supports user authentication.

Copy link

vercel bot commented Aug 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
github-readme-stats Ready Ready Preview Comment Aug 21, 2025 9:18am

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

Successfully merging this pull request may close these issues.

3 participants