From 2a573cfb195a71d198030e8f5d371ed8574037d7 Mon Sep 17 00:00:00 2001 From: Michael Latman Date: Tue, 26 Nov 2024 22:13:17 -0500 Subject: [PATCH] Another --- .github/workflows/update-packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-packages.yml b/.github/workflows/update-packages.yml index 96ee1c9..6737a08 100644 --- a/.github/workflows/update-packages.yml +++ b/.github/workflows/update-packages.yml @@ -41,8 +41,8 @@ jobs: if: steps.git-check.outputs.changes == 'true' run: | if [ -f "temp/commit-msg.txt" ]; then - MSG=$(cat temp/commit-msg.txt) - echo "message=$MSG" >> "$GITHUB_OUTPUT" + MSG=$(cat temp/commit-msg.txt | tr '\n' ' ' | sed 's/"/\\"/g') + echo "message=${MSG}" >> "$GITHUB_OUTPUT" else echo "message=chore(packages): update MCP package list" >> "$GITHUB_OUTPUT" fi