chore: Release workflow - #95
Merged
Alon Yeshurun (ayeshurun) merged 29 commits intoDec 24, 2025
Merged
Conversation
fix: semantic pr
aviatco
approved these changes
Dec 24, 2025
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.
📥 Pull Request
✨ Description of new changes
Summary
Enhances the
create-release.ymlworkflow with optional commit targeting, rich error messages viaGITHUB_STEP_SUMMARY, and upfront workflow information display. Uses heredoc syntax for cleaner, more maintainable code.Changes
Optional Commit Targeting
commit_sha(optional) - allows tagging specific commits instead of always using HEADgit rev-parse --verifyRich Error Messages
All error scenarios now write formatted messages to
GITHUB_STEP_SUMMARYusing heredoc syntax:changie batchcommandWorkflow Transparency
Technical Updates
fetch-depth: 0for full git history accessgh release create --targetflagcat >> $GITHUB_STEP_SUMMARY << EOFinstead of multiple echo commands for cleaner, more maintainable codeExample Usage
Workflow Step Summary Examples
✅ Successful Release
❌ Error: Invalid Commit SHA
❌ Error: Missing Release Notes
All messages appear in the Summary section at the top of the workflow run page, providing immediate visibility without needing to dig through step logs.
Context
Addresses user request for better error visibility and control over which commit gets tagged during release creation. Implementation uses modern shell heredoc syntax for improved code readability and maintainability.
Original prompt