From fdb3bace4c23ed3aca7021f996c2262ede645a5e Mon Sep 17 00:00:00 2001 From: mateofuentespombo Date: Sun, 4 Jan 2026 18:12:29 +0100 Subject: [PATCH] Fix: use notes-file to avoid shell interpretation of PR body --- .github/workflows/auto-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 89e200b..d821519 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -274,13 +274,16 @@ jobs: - name: '🚀 Create GitHub Release' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_BODY: ${{ github.event.pull_request.body }} run: | TAG="${{ steps.version.outputs.version_tag }}" - PR_BODY="${{ github.event.pull_request.body }}" + + # Write PR body to file to avoid shell interpretation issues + echo "$PR_BODY" > release_notes.md gh release create "$TAG" \ --title "Release $TAG" \ - --notes "$PR_BODY" \ + --notes-file release_notes.md \ --target main echo "✅ GitHub Release created"