You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get-GitHubRepository (no params) returns only first page for authenticated user repos #643
Get-GitHubRepository appears to return only a single page when called without parameters (authenticated user's repositories).
Environment
Host: github.com
Authenticated account: MariusStorhaug
Module: GitHub 0.43.1
Reproduction
(Get-GitHubRepository).Count
Observed:
100
Additional check:
(Get-GitHubRepository-PerPage 50).Count
Observed:
50
This strongly suggests the command returns only the first page, respecting PerPage as page size but not iterating to next pages.
Expectation
Calling Get-GitHubRepository with no parameters should paginate through all pages and return the full set of repositories visible to the authenticated user.
Context
The user profile indicates ~3.3k repositories, so a hard cap at exactly one page is likely unintended.
In local source (main) there appears to be pagination logic in the owner-list path, so this may be a runtime/release-path mismatch or a regression in the published module behavior.
Root cause analysis
Root cause found in Get-GitHubMyRepositories (the authenticated-user/no-parameter path used by Get-GitHubRepository).
The loop emits nodes correctly, but updates pagination state from an undefined $response variable:
Activity