Compare commits
1 commit
ea3361a191
...
dcb8126e67
Author | SHA1 | Date | |
---|---|---|---|
dcb8126e67 |
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue