Skip to content

fix: explicitly set tag_name in release workflow#197

Merged
scottschreckengaust merged 3 commits intomainfrom
fix/release-tag-association
Apr 20, 2026
Merged

fix: explicitly set tag_name in release workflow#197
scottschreckengaust merged 3 commits intomainfrom
fix/release-tag-association

Conversation

@scottschreckengaust
Copy link
Copy Markdown
Member

@scottschreckengaust scottschreckengaust commented Apr 20, 2026

Summary

Fixes the v0.1.8 draft release being created with an untagged-* slug instead of being associated with the v0.1.8 tag, and adds a Kiro steering file to prevent missing the contributor statement in future PRs.

Changes

1. Fix release workflow tag association

The v0.1.8 draft release was created as releases/tag/untagged-bfb61f621c7818a82994 instead of releases/tag/v0.1.8. This caused the relative CHANGELOG.md link to resolve incorrectly.

Root cause: softprops/action-gh-release without an explicit tag_name parameter relies on GITHUB_REF being correct at runtime. Race conditions (tag deletion/recreation) or re-runs can cause the release to end up untagged.

Fix:

  • Add explicit tag_name parameter to ensure correct tag association
  • Pin CHANGELOG.md link to an absolute URL with the tag ref

2. Add Kiro steering file for PR conventions

Adds .kiro/steering/pr-conventions.md so that Kiro CLI always includes the required contributor statement when creating PRs for this repo.

Test Plan

  • After merging, re-run the release workflow on the v0.1.8 tag — it should produce a properly tagged draft release
  • Future PRs created via Kiro CLI will include the contributor statement automatically

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

Without explicit tag_name, softprops/action-gh-release relies on
GITHUB_REF being correct at runtime. If anything goes wrong (re-runs,
race conditions with tag deletion/recreation), the release ends up
untagged (e.g. untagged-bfb61f621c7818a82994).

Also pins the CHANGELOG.md link to the tag so it resolves correctly
in draft releases before publication.
@scottschreckengaust scottschreckengaust marked this pull request as ready for review April 20, 2026 20:29
Ensures the contributor statement required by CI is always included
when creating PRs via Kiro CLI.
@scottschreckengaust scottschreckengaust requested a review from a team as a code owner April 20, 2026 20:34
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 20, 2026
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.

Approved

@scottschreckengaust scottschreckengaust added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit b97add7 Apr 20, 2026
27 checks passed
@scottschreckengaust scottschreckengaust deleted the fix/release-tag-association branch April 20, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants