Skip to content

Fix release notes shell injection in create_release workflow - #146

Merged
jamiecobbett merged 1 commit into
masterfrom
fix-bug-in-releases-with-code-in-notes
Sep 1, 2026
Merged

Fix release notes shell injection in create_release workflow#146
jamiecobbett merged 1 commit into
masterfrom
fix-bug-in-releases-with-code-in-notes

Conversation

@jamiecobbett

@jamiecobbett jamiecobbett commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

By interpolating the changelog entry into a double quoted bash string, bash parsed the contents for commands. When the changelog entry included backticks for a code block, bash tried to execute it (example changelog which caused this example build failure).

Passing via the env context avoids this.

I'll test this here and then copy to the other 6 repos if it works.

By interpolating the changelog entry into a double quoted bash string, bash
parsed the contents for commands. When the changelog entry included backticks
for a code block, bash tried to execute it.

Passing via the env context avoids this.
@jamiecobbett
jamiecobbett requested a review from a team September 1, 2026 10:56
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