Skip to content

fix: respect pagination URLs when fetching GitHub releases#179

Merged
GideonBear merged 2 commits intojaemk:masterfrom
jqnatividad:gh-pagination-fix
Apr 10, 2026
Merged

fix: respect pagination URLs when fetching GitHub releases#179
GideonBear merged 2 commits intojaemk:masterfrom
jqnatividad:gh-pagination-fix

Conversation

@jqnatividad
Copy link
Copy Markdown
Contributor

Don't unconditionally append ?per_page=100 to the fetch URL. Pagination URLs from GitHub's Link header may already include query parameters; the code now checks for a '?' and uses the URL as-is if present, otherwise it appends ?per_page=100. This prevents malformed requests and preserves pagination links.

see #178

Don't unconditionally append `?per_page=100` to the fetch URL. Pagination URLs from GitHub's Link header may already include query parameters; the code now checks for a '?' and uses the URL as-is if present, otherwise it appends `?per_page=100`. This prevents malformed requests and preserves pagination links.
@GideonBear GideonBear changed the title fix: Respect pagination URLs when fetching GitHub releases fix: respect pagination URLs when fetching GitHub releases Apr 10, 2026
@GideonBear GideonBear merged commit 17af1e9 into jaemk:master Apr 10, 2026
1 of 2 checks passed
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.

2 participants