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