diff --git a/.github/workflows/autoSyncMergedPullRequest.yml b/.github/workflows/autoSyncMergedPullRequest.yml index a1f1fc33b..275520f4b 100644 --- a/.github/workflows/autoSyncMergedPullRequest.yml +++ b/.github/workflows/autoSyncMergedPullRequest.yml @@ -28,6 +28,6 @@ jobs: "ref": "${{ github.ref }}", "prNumber": "${{ github.event.pull_request.number }}", "prTitle": "${{ github.event.pull_request.title }}", - "prDescription": "${{ github.event.pull_request.description }}", + "prDescription": "${{ toJSON(github.event.pull_request.description) }}", "sha": "${{ github.sha }}" } diff --git a/.github/workflows/autoSyncSingleCommit.yml b/.github/workflows/autoSyncSingleCommit.yml index 0a8c78148..7d0356b91 100644 --- a/.github/workflows/autoSyncSingleCommit.yml +++ b/.github/workflows/autoSyncSingleCommit.yml @@ -32,5 +32,5 @@ jobs: { "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", - "commitMessage": "${{ github.event.commits[0].message }}" + "commitMessage": "${{ toJSON(github.event.commits[0].message) }}" }