Skip to content

fix: use shell variable in heredoc to avoid YAML parsing error#10

Merged
evertoncolling merged 1 commit into
mainfrom
fix-release-workflow-heredoc
Jul 3, 2025
Merged

fix: use shell variable in heredoc to avoid YAML parsing error#10
evertoncolling merged 1 commit into
mainfrom
fix-release-workflow-heredoc

Conversation

@evertoncolling

Copy link
Copy Markdown
Owner

Summary

  • Fix YAML parsing error on line 83 of release workflow
  • Replace GitHub Actions expression ${{ github.ref_name }} with shell variable ${GITHUB_REF_NAME} inside heredoc

Context

GitHub Actions expressions inside heredocs cause YAML parsing errors. Using shell environment variables instead resolves this issue.

Test plan

  • Workflow will be tested when we recreate the release tag after merging

🤖 Generated with Claude Code

- Replace GitHub Actions expression with shell variable in heredoc
- Fixes YAML parsing error on line 83

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@evertoncolling evertoncolling enabled auto-merge July 3, 2025 21:41
@codecov

codecov Bot commented Jul 3, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 8.67%. Comparing base (658a6ea) to head (2eabfb7).
Report is 2 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #10   +/-   ##
=====================================
  Coverage   8.67%   8.67%           
=====================================
  Files          9       9           
  Lines       1314    1314           
=====================================
  Hits         114     114           
  Misses      1198    1198           
  Partials       2       2           
Flag Coverage Δ
unittests 8.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@evertoncolling evertoncolling merged commit 58c0e23 into main Jul 3, 2025
14 checks passed
@evertoncolling evertoncolling deleted the fix-release-workflow-heredoc branch July 3, 2025 21:42
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