diff --git a/ci-scripts/report-size.sh b/ci-scripts/report-size.sh index 4f5ae89..e9c10e9 100755 --- a/ci-scripts/report-size.sh +++ b/ci-scripts/report-size.sh @@ -38,10 +38,13 @@ if [ "$CI" = "true" ]; then ) echo 'Posting comment:' echo "$comment" + echo 'Request data:' + data=$(echo '{}' | jq --arg comment "$comment" '.body=$comment') + echo "$data" curl -o - -v -X 'POST' \ "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/comments?token=$GITHUB_TOKEN" \ -H 'accept: application/json' \ - -d "$(echo '{}' | jq --arg comment "$comment" '.body=$comment')" + -d "$data" else package_size_table fi