Skip to content

Private repos are not counted with self deployment #4286

Open
@rizuruu

Description

@rizuruu

Describe the bug

Trying to show stats on language card. Deployed on Vercel, added github token in environment var (PAT_1) with user and repo scopes. It still can't see private repos. Same stats as if it would have with example api url.

Expected behavior

Self deployment should be able to count private repo languages in language card.

Screenshots / Live demo link

Additional context

The count seems to be calculated based on public repos only since most of them are C++. I have 3x more private repos in C# than C++ with each C# repo having more code than individual C++ repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions