diff --git a/ci-scripts/report-size.sh b/ci-scripts/report-size.sh index e9c10e9..4f5ae89 100755 --- a/ci-scripts/report-size.sh +++ b/ci-scripts/report-size.sh @@ -38,13 +38,10 @@ 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 "$data" + -d "$(echo '{}' | jq --arg comment "$comment" '.body=$comment')" else package_size_table fi