File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,15 @@ jobs:
5656 git config user.email "messageflow-ci-bot@example.com"
5757 git add -A
5858
59- COMMIT_MSG= "Sync: ${{ github.event.client_payload.source_repo }}@${{ github.event.client_payload.source_sha }}"
59+ echo "Sync: ${{ github.event.client_payload.source_repo }}@${{ github.event.client_payload.source_sha }}" > /tmp/commit_msg.txt
6060
6161 # Add changes details if available
6262 if [ -n "${{ steps.generate-docs.outputs.changelog }}" ]; then
63- COMMIT_MSG="$COMMIT_MSG
64-
65- ${{ steps.generate_docs.outputs.changes }}"
63+ echo "" >> /tmp/commit_msg.txt
64+ echo "${{ steps.generate_docs.outputs.changes }}" >> /tmp/commit_msg.txt
6665 fi
6766
68- git commit -m "$COMMIT_MSG"
67+ git commit -F /tmp/commit_msg.txt
6968 git remote set-url origin "https://x-access-token:${PAT}@github.com/${GITHUB_REPOSITORY}"
7069 git push
7170 fi
You can’t perform that action at this time.
0 commit comments