From b41382f365983118c608ed8df0a21afeaefab7cd Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Thu, 4 Dec 2025 17:45:56 +1000 Subject: [PATCH] fix: use heredoc for multi-line commit message in workflow --- .github/workflows/sync-vercel-registry.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sync-vercel-registry.yml b/.github/workflows/sync-vercel-registry.yml index d7e94fa..1e15e3d 100644 --- a/.github/workflows/sync-vercel-registry.yml +++ b/.github/workflows/sync-vercel-registry.yml @@ -139,7 +139,8 @@ jobs: # Commit changes git add manual-tools.ts - commit_message="chore: sync ${{ steps.sync.outputs.processed }} new tools from Vercel AI registry + git commit -m "$(cat <<'EOF' +chore: sync ${{ steps.sync.outputs.processed }} new tools from Vercel AI registry Added ${{ steps.sync.outputs.processed }} tools from Vercel AI SDK registry: - Total tools in registry: ${{ steps.sync.outputs.total }} @@ -148,9 +149,9 @@ Added ${{ steps.sync.outputs.processed }} tools from Vercel AI SDK registry: - Errors: ${{ steps.sync.outputs.errors }} 🤖 Automated by GitHub Actions -Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" - - git commit -m "$commit_message" +Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} +EOF +)" echo "✅ Changes committed" echo ""