fix(release): honor workflow input tag#11
Conversation
- Purpose: repair release validation when release-please calls the reusable release workflow. - Before: the workflow looked at GITHUB_EVENT_NAME, which remains push inside reusable workflow calls, so it ignored inputs.tag and validated main as the release tag. - Problem: release-please-created releases failed even though the caller supplied the correct SemVer tag. - Now: checkout and validation prefer inputs.tag when present and fall back to the triggering ref for tag pushes. - How: resolve RELEASE_TAG through the Actions expression context and read that value in the shell step.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe release workflow is updated to simplify tag resolution. The Checkout step now directly uses ChangesTag Resolution Unification
🎯 2 (Simple) | ⏱️ ~8 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Summary
mainas the release tag.Verification
RELEASE_TAG=v0.1.0passed.Summary by CodeRabbit