From 81bb830f25c5f27d26c9cb7e34d123ebe6533e1a Mon Sep 17 00:00:00 2001 From: EthanThatOneKid <31261035+EthanThatOneKid@users.noreply.github.com> Date: Thu, 23 Nov 2023 00:44:51 -0800 Subject: [PATCH] Update godoc_pr_preview.yaml --- .github/workflows/godoc_pr_preview.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/godoc_pr_preview.yaml b/.github/workflows/godoc_pr_preview.yaml index 50ec767..7bba6a9 100644 --- a/.github/workflows/godoc_pr_preview.yaml +++ b/.github/workflows/godoc_pr_preview.yaml @@ -25,7 +25,7 @@ jobs: link="https://pkg.go.dev/$REPO@$version" comment="Documentation for this module: [GoDoc]($link)" - echo "comment=$(jq -n --arg s \"$comment\" '$s')" >> "$GITHUB_OUTPUT" + echo "comment=$(echo \"$comment\" | jq -R .)" >> "$GITHUB_OUTPUT" env: REPO: ${{ github.repository.full_name }} REV: ${{ github.event.pull_request.base.sha }}