This commit is contained in:
parent
4fd84862e9
commit
07fefc2c5c
1 changed files with 3 additions and 2 deletions
|
@ -19,9 +19,10 @@ jobs:
|
|||
ls -l
|
||||
pwd
|
||||
output=$(cat output.txt)
|
||||
jq -n --arg msg "$(cat output.txt)" '{"body": $msg}' > /tmp/git-msg
|
||||
echo $output
|
||||
curl -vvv -X POST \
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"body": "${{output }}"}' \
|
||||
-d @/tmp/git-msg \
|
||||
"${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
|
||||
|
|
Loading…
Reference in a new issue