From 2a989c55270a6d2a06944192658d388df8be460d Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Thu, 4 Dec 2025 17:47:03 +1000 Subject: [PATCH] fix: use variable for multi-line commit message --- .github/workflows/sync-vercel-registry.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/sync-vercel-registry.yml b/.github/workflows/sync-vercel-registry.yml index 1e15e3d..ad3bf15 100644 --- a/.github/workflows/sync-vercel-registry.yml +++ b/.github/workflows/sync-vercel-registry.yml @@ -139,19 +139,19 @@ jobs: # Commit changes git add manual-tools.ts - git commit -m "$(cat <<'EOF' -chore: sync ${{ steps.sync.outputs.processed }} new tools from Vercel AI registry + # Create commit message + COMMIT_MSG="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 }} -- Already synced: ${{ steps.sync.outputs.skipped }} -- Newly added: ${{ steps.sync.outputs.processed }} -- Errors: ${{ steps.sync.outputs.errors }} + Added ${{ steps.sync.outputs.processed }} tools from Vercel AI SDK registry: + - Total tools in registry: ${{ steps.sync.outputs.total }} + - Already synced: ${{ steps.sync.outputs.skipped }} + - Newly added: ${{ steps.sync.outputs.processed }} + - Errors: ${{ steps.sync.outputs.errors }} -🤖 Automated by GitHub Actions -Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} -EOF -)" + 🤖 Automated by GitHub Actions + Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + + git commit -m "$COMMIT_MSG" echo "✅ Changes committed" echo ""