Skip to content

Commit d99db85

Browse files
ritwik-gclaude
andcommitted
[FIX] Escape JSON strings in release notification workflow
Fix JSON parsing error when PR titles contain double quotes by using toJSON() function to properly escape release body content. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 89f6e3d commit d99db85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-notification.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
},
3333
{
3434
"title": "Release Notes",
35-
"value": "${{ github.event.release.body || 'No release notes provided.' }}",
35+
"value": ${{ toJSON(github.event.release.body || 'No release notes provided.') }},
3636
"short": false
3737
},
3838
{

0 commit comments

Comments
 (0)