Skip to content

🪲[Bug]: Can't list private repositories #537

@jsskeen-utah

Description

@jsskeen-utah

Describe the bug

In my work organization, there are hundreds of private repositories. I have access to them via the GitHub UI, but I can't seem to list them using Get-GitHubRepository -Owner myorgname -Visibility Private or -Visibility Internal. The command just returns an empty list.

Edit: I tried with my personal GitHub account as well and still can't see any personal private repositories

Version information

PSVersion                         7.5.4
GitHub module version             0.40.4

To reproduce / Code snippet

Get-GitHubRepository -Visibility Private
Get-GitHubRepository -Visibility Internal

Relevant output

(no output)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions