Skip to content

Sanitize 'since' input in prep-release workflow#9

Merged
bouzidanas merged 1 commit intomainfrom
Feature-Development
Dec 14, 2025
Merged

Sanitize 'since' input in prep-release workflow#9
bouzidanas merged 1 commit intomainfrom
Feature-Development

Conversation

@bouzidanas
Copy link
Copy Markdown
Owner

Description:

This commit fixes a bug in the prep-release.yml GitHub Actions workflow that caused the jupyter-releaser build-changelog command to fail.

The since input for the workflow was being passed directly to the action, which could include newlines or other characters that would cause the underlying github-activity tool to fail with a ParserError or HTTPError: 422.

This change adds an intermediate step to sanitize the since input, ensuring that only the first line is used and passed to the release action. This prevents invalid characters from breaking the release preparation process.

@bouzidanas bouzidanas merged commit 4ab28a3 into main Dec 14, 2025
21 of 24 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.

1 participant