From 6db44cdbf470d3b7537aef660a27f65c5ea0f3ff Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 26 Dec 2025 16:21:32 +0900 Subject: [PATCH] fix(ci): use heredoc for release notes to handle special characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64ef5b5..7ba0e75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,15 +120,19 @@ jobs: echo "Updating existing draft release..." gh release edit next \ --title "Upcoming Changes 🍿" \ - --notes "${{ steps.notes.outputs.notes }}" \ - --draft + --notes-file - \ + --draft <<'EOF' + ${{ steps.notes.outputs.notes }} + EOF else echo "Creating new draft release..." gh release create next \ --title "Upcoming Changes 🍿" \ - --notes "${{ steps.notes.outputs.notes }}" \ + --notes-file - \ --draft \ - --target ${{ github.sha }} + --target ${{ github.sha }} <<'EOF' + ${{ steps.notes.outputs.notes }} + EOF fi env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}