Skip to content

Commit 24d82df

Browse files
committed
fix: quote multiline gh pr create body for dependency updates
1 parent 7999020 commit 24d82df

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

.github/workflows/update.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -474,22 +474,7 @@ jobs:
474474
475475
gh pr create \
476476
--title "chore: Update $UPDATES_COUNT dependencies to latest" \
477-
--body "## 📦 Automated Dependency Updates
478-
479-
This PR updates outdated dependencies to their latest versions.
480-
481-
**Updated Files:** ${{ steps.check_dependencies.outputs.updates_files }}
482-
483-
**Triggered by:** [Repository Update Workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
484-
**Date:** $(date -u +\"%Y-%m-%d %H:%M:%S UTC\")
485-
486-
**Review Checklist:**
487-
- Check CHANGELOG/release notes for breaking changes
488-
- Review major version bumps carefully
489-
- Run tests locally
490-
- Verify compatibility with existing code
491-
492-
Once approved, dependencies will be updated to latest stable versions." \
477+
--body $'## 📦 Automated Dependency Updates\n\nThis PR updates outdated dependencies to their latest versions.\n\n**Updated Files:** ${{ steps.check_dependencies.outputs.updates_files }}\n\n**Triggered by:** [Repository Update Workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})\n**Date:** $(date -u +\"%Y-%m-%d %H:%M:%S UTC\")\n\n**Review Checklist:**\n- Check CHANGELOG/release notes for breaking changes\n- Review major version bumps carefully\n- Run tests locally\n- Verify compatibility with existing code\n\nOnce approved, dependencies will be updated to latest stable versions.' \
493478
--base "${{ github.ref_name }}" \
494479
--head "$BRANCH_NAME" \
495480
--label "automated,dependencies"

workflows-templates/update.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -496,22 +496,7 @@ jobs:
496496
497497
gh pr create \
498498
--title "chore: Update $UPDATES_COUNT dependencies to latest" \
499-
--body "## 📦 Automated Dependency Updates
500-
501-
This PR updates outdated dependencies to their latest versions.
502-
503-
**Updated Files:** ${{ steps.check_dependencies.outputs.updates_files }}
504-
505-
**Triggered by:** [Repository Update Workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
506-
**Date:** $(date -u +\"%Y-%m-%d %H:%M:%S UTC\")
507-
508-
**Review Checklist:**
509-
- Check CHANGELOG/release notes for breaking changes
510-
- Review major version bumps carefully
511-
- Run tests locally
512-
- Verify compatibility with existing code
513-
514-
Once approved, dependencies will be updated to latest stable versions." \
499+
--body $'## 📦 Automated Dependency Updates\n\nThis PR updates outdated dependencies to their latest versions.\n\n**Updated Files:** ${{ steps.check_dependencies.outputs.updates_files }}\n\n**Triggered by:** [Repository Update Workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})\n**Date:** $(date -u +\"%Y-%m-%d %H:%M:%S UTC\")\n\n**Review Checklist:**\n- Check CHANGELOG/release notes for breaking changes\n- Review major version bumps carefully\n- Run tests locally\n- Verify compatibility with existing code\n\nOnce approved, dependencies will be updated to latest stable versions.' \
515500
--base "${{ github.ref_name }}" \
516501
--head "$BRANCH_NAME" \
517502
--label "automated,dependencies"

0 commit comments

Comments
 (0)