Skip to content

Fix release workflow: add missing tag_name to action-gh-release - #2

Merged
madkoding merged 2 commits into
mainfrom
copilot/fix-release-workflow-error
Feb 26, 2026
Merged

Fix release workflow: add missing tag_name to action-gh-release#2
madkoding merged 2 commits into
mainfrom
copilot/fix-release-workflow-error

Conversation

CopilotAI commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

softprops/action-gh-release@v2 fails with ⚠️ GitHub Releases requires a tag because the workflow triggers on push to main, not on tag creation — so github.ref is refs/heads/main and the action cannot infer a tag.

  • Add explicit tag_name: ${{ steps.version.outputs.version }} to the release step, using the version already computed upstream
- name: Create Releaseuses: softprops/action-gh-release@v2with:
tag_name: ${{ steps.version.outputs.version }}name: ${{ steps.version.outputs.version }}

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…ease@v2
Co-authored-by: madkoding <333442+madkoding@users.noreply.github.com>
CopilotAI changed the title [WIP] Fix workflow issue with GitHub Releases requiring a tagFix release workflow: add missing tag_name to action-gh-releaseFeb 26, 2026
@madkoding
madkoding marked this pull request as ready for review February 26, 2026 17:10
@madkoding
madkoding self-requested a review as a code ownerFebruary 26, 2026 17:10
@madkoding
madkoding merged commit 1fbde7b into mainFeb 26, 2026
9 checks passed
Sign up for freeto 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.

2 participants

@madkoding