Skip to content

fix: address PR #140 review feedback for release workflow#141

Merged
scottschreckengaust merged 1 commit intomainfrom
worktree-pr140-review-fixes
Mar 23, 2026
Merged

fix: address PR #140 review feedback for release workflow#141
scottschreckengaust merged 1 commit intomainfrom
worktree-pr140-review-fixes

Conversation

@scottschreckengaust
Copy link
Copy Markdown
Member

@scottschreckengaust scottschreckengaust commented Mar 23, 2026

Summary

Implements the 5 review suggestions from copilot-pull-request-reviewer on PR #140, as noted by @Kalindi-Dev for a subsequent release.

  • Use ::error:: instead of ::warning:: for fatal "nothing to release" condition (line 73)
  • Use ::error:: instead of ::warning:: for fatal "branch already exists" condition (line 112)
  • Add ::error:: with actionable remediation message for unchanged changelog (line 121)
  • Replace string-based LABEL_FLAG with array-based label_args for safe shell expansion (lines 129-134)
  • Fix PR title to use $TAG instead of $BRANCH for consistency with commit message (line 138)

Test plan

  • Run release workflow with no conventional commits — verify ::error:: annotation appears
  • Run release workflow when branch already exists — verify ::error:: annotation appears
  • Run release workflow when changelog is unchanged — verify actionable ::error:: message
  • Run release workflow with valid labels — verify array-based label args work correctly
  • Verify created PR title uses tag (e.g., v0.3.0) not branch prefix (release/v0.3.0)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Use ::error:: instead of ::warning:: for fatal conditions, add actionable
remediation message for unchanged changelog, use array-based label args
for safe shell expansion, and fix PR title to use $TAG instead of $BRANCH.
Copy link
Copy Markdown
Contributor

@Kalindi-Dev Kalindi-Dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, part of release cycle.

Copy link
Copy Markdown
Contributor

@harmjeff harmjeff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appropriate error handling

@scottschreckengaust scottschreckengaust added this pull request to the merge queue Mar 23, 2026
Merged via the queue into main with commit 6eb6c25 Mar 23, 2026
12 of 13 checks passed
@scottschreckengaust scottschreckengaust deleted the worktree-pr140-review-fixes branch March 23, 2026 14:36
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.

3 participants