Add GitHub Action step to remove "v" prefix from release titles#68
Add GitHub Action step to remove "v" prefix from release titles#68
Conversation
Co-authored-by: lgallard <6194359+lgallard@users.noreply.github.com>
|
bugbot run |
@copilot please address it |
Co-authored-by: lgallard <6194359+lgallard@users.noreply.github.com>
Fixed the JSON interpolation vulnerability by replacing direct string interpolation with secure |
|
bugbot run |
This PR adds a new step to the existing release-please workflow that automatically removes the "v" prefix from release titles after they are created.
Problem
Release-please may still add a "v" prefix to release titles despite configuration settings like
"include-v-in-tag": false. Since there's no reliable configuration option in release-please to prevent this, we need a post-processing step to clean up the release titles.Solution
Added a new GitHub Action step that:
release_createdoutput is true)Implementation Details
The step uses a refined regex pattern
sed 's/^v\([0-9]\)/\1/'that:Example transformations:
Testing
Fixes #67.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.