Improve proposal numbering workflow with exact commands to name proposal file given in feedback added to the description etc#106
Merged
Conversation
Update the workflow to generate specific fix commands for each proposal: - Exact git mv command with actual current and expected filenames - Smart sed command that preserves title text while fixing the number - Include git commit and git push for complete fix workflow The sed command handles titles with or without existing number prefixes (e.g., '# 000 - Title', '# xxx - Title', or '# Title') and automatically adds the correct PR number while preserving the title text. Users can now copy/paste the entire command block directly into their terminal without manual editing. Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: Keith Wall <kwall@apache.org>
Workflow Changes: - Generate specific, copy-pasteable commands for each proposal - Exact git mv command with actual current and expected filenames - Smart sed command that preserves title text while fixing the number - Include git add after sed to stage the modified file - Complete workflow with git commit and git push Notification Script Changes: - Fetch actual proposal filename from each PR - Calculate expected filename - Provide exact commands including sed for title update - Include git add after sed modification The sed command handles all common title formats (# 000 -, # xxx -, # nnn -, or plain # Title) and preserves the title text. Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: Keith Wall <kwall@apache.org>
This is a local settings file that shouldn't be tracked. Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: Keith Wall <kwall@apache.org>
franvila
approved these changes
Apr 28, 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.
Follow-up improvements to #104 to provide exact, copy-pasteable commands.
Workflow Changes
The GitHub workflow now generates specific, copy-pasteable commands for each proposal:
Example output:
The sed command handles all common title formats:
# 000 - Title→# 105 - Title# xxx - Title→# 105 - Title# nnn - Title→# 105 - Title# Title→# 105 - TitleNotification Script Changes
Updated
notify-open-prs.shto generate PR-specific comments:Testing
Tested with a proposal having
# xxx - Test Exact Commands:# 4 - Test Exact Commands(text preserved)Assisted-By: Claude Sonnet 4.5 noreply@anthropic.com
Signed-off-by: Keith Wall kwall@apache.org