Skip to content

Commit 5c73d67

Browse files
committed
feat: add github action for release notification with description 2
1 parent 55d5603 commit 5c73d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-notification.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
"author_name": "${{ github.event.release.author.login }}",
2121
"repository_name": "${{ github.event.repository.name }}",
2222
"repository_url": "${{ github.event.repository.html_url }}",
23-
"release_description": "${{ github.event.release.body }}"
23+
"release_description": ${{ toJSON(github.event.release.body) }}
2424
}
2525
env:
2626
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # Use the secret for the webhook URL

0 commit comments

Comments
 (0)