From a6688856a22947952a3dc411de30f54db9efada1 Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Wed, 3 Dec 2025 04:13:35 -0700 Subject: [PATCH] fix: use heredoc to avoid quoting issues in PR comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/llm-hello-world.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/llm-hello-world.yaml b/.github/workflows/llm-hello-world.yaml index 23d7df4d..0b1bc776 100644 --- a/.github/workflows/llm-hello-world.yaml +++ b/.github/workflows/llm-hello-world.yaml @@ -128,20 +128,24 @@ jobs: - name: Post comment to PR env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SUMMARY: ${{ steps.llm.outputs.summary }} + AUTHOR: ${{ steps.pr.outputs.author }} + PR_NUM: ${{ inputs.pr_number }} run: | - echo "Posting comment to PR #${{ inputs.pr_number }}..." + echo "Posting comment to PR #$PR_NUM..." - COMMENT="## LLM Hello World Test + gh pr comment "$PR_NUM" --body "$(cat <