Skip to content

Commit 71be992

Browse files
committed
Fixing json encoding for virustotal release notes generation
1 parent 870db2c commit 71be992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,6 @@ jobs:
232232
-H "Accept: application/vnd.github+json" \
233233
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
234234
-H "X-GitHub-Api-Version: 2022-11-28" \
235-
-d "{\"body\": \"$body\"}" \
235+
--variable '%body' \
236+
--expand-data '{"body": "{{body:trim:json}}"}' \
236237
$url

0 commit comments

Comments
 (0)