fix: use variable for multi-line commit message

This commit is contained in:
Ajax Davis 2025-12-04 17:47:03 +10:00
parent b41382f365
commit 2a989c5527

View file

@ -139,8 +139,8 @@ 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 }}
@ -149,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 }}
EOF
)"
Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
git commit -m "$COMMIT_MSG"
echo "✅ Changes committed"
echo ""