Add PR comments and job summary features#12
Closed
TheKathan wants to merge 20 commits into
Closed
Conversation
- Enable comment-on-pr in workflow - Enable add-to-summary in workflow - Add pull-requests write permission - Minor README update to trigger workflow
- Remove 'Will be published as pre-release tag' line - Remove 'Will be published when merged to main' line - Keep only version and type information
- Update existing bot comment instead of creating new ones - Change wording from 'will create' to 'has been tagged as' - Check for existing comment by searching for '📦 Version' marker
- Use heredoc to create comment body file - Use placeholders and sed to substitute values - Avoids YAML parsing issues with multiline strings
Remove placeholder approach and sed substitution in favor of direct variable expansion in heredoc. This simplifies the code and avoids YAML parsing issues. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Change from 'Type: **X**' to inline format '**VERSION** (TYPE)' to avoid YAML parser confusion with colons. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Use printf instead of heredoc for creating comment body to completely avoid YAML parser confusion with heredoc markers. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Change author.login from 'github-actions' to 'github-actions[bot]' to properly match GitHub Actions bot comments. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add branch name, bump type, and previous version to PR comment for better visibility. Also add these as action outputs.
Extract job summary logic into separate step for better organization and consistency with PR comment step. Use same table format for both.
- Document new outputs (branch, previous-version, bump-type) - Add section showing PR comment and job summary features - Clarify comment-on-pr requires enable-prerelease - Show table format example
Prevents 'tag already exists' error when workflow runs multiple times on same commit.
📦 Version: v1.0.8-test.1
|
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.
Summary
Features
Testing