Fix 422 pagination error when generating release notes - #48
Merged
Conversation
…fix 422 pagination error Co-authored-by: mmornati <139323+mmornati@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix error when generating release notes
Fix 422 pagination error when generating release notes
Mar 6, 2026
GregoireW
approved these changes
Mar 6, 2026
GregoireW
marked this pull request as ready for review
March 8, 2026 17:25
GregoireW
enabled auto-merge (squash)
March 8, 2026 17:26
This was referenced Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The action fails with a
422 Unprocessable Entitywhen paginating GitHub issues becausegithub-changelog-generator v0.0.8double-encodes the cursor from theLinkresponse header — the=in the base64 cursor gets%3D-encoded, then the whole value gets encoded again, producing an invalidafterparameter rejected by the GitHub REST API.Changes
Dockerfile: BumpRELEASE_NOTE_GENERATOR_VERSIONv0.0.8→v0.0.13v0.0.12fixed "Processing next links may result in double-encoding and a 422 response"v0.0.13is the latest, adds NPE fix for ported issues with no bodyDockerfile: Bump base imageeclipse-temurin:11-alpine→eclipse-temurin:17-alpinev0.0.13uses Spring Boot 4.0.1 which requires Java 17+Original prompt
This section details on the original issue you should resolve
<issue_title>Error when generating release notes</issue_title>
<issue_description>I run into an interesting issue, perhaps someone can help/take a look?
Since the code is not available, I have to guess that the plugin fails due to pagination issues? Regardless, any help is appreciated.
I have verified the token works, and I can query issues with it.
I am using the action as following:
This results in: