Skip to content

fix(ci): fix publish.yml tag condition - #3

Merged
explosivebit merged 1 commit into
devfrom
fix/publish-workflow
Apr 2, 2026
Merged

explosivebit merged 1 commit into
devfrom
fix/publish-workflow

Conversation

@explosivebit

Copy link
Copy Markdown
Contributor

Summary

  • Fix publish job condition: github.event.base_ref is always empty on tag push events
  • Replace with startsWith(github.ref, 'refs/tags/v') which correctly matches v* tags
  • This was causing publish to be skipped on git push origin v0.2.0

Test plan

  • Condition syntax verified against GitHub Actions docs
  • Next tag push should trigger publish → PyPI + GitHub Release

🤖 Generated with Claude Code

base_ref is empty on tag push events, causing publish job to skip.
Replace with startsWith(github.ref, 'refs/tags/v') which works correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@explosivebit
explosivebit merged commit 67f8028 into dev Apr 2, 2026
8 checks passed
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.

1 participant