lol #2

Open
lubiana wants to merge 14 commits from test into master
Showing only changes of commit 07fefc2c5c - Show all commits

View file

@ -19,9 +19,10 @@ jobs:
ls -l ls -l
pwd pwd
output=$(cat output.txt) output=$(cat output.txt)
jq -n --arg msg "$(cat output.txt)" '{"body": $msg}' > /tmp/git-msg
echo $output echo $output
curl -vvv -X POST \ curl -X POST \
-H "Authorization: token ${GITHUB_TOKEN}" \ -H "Authorization: token ${GITHUB_TOKEN}" \
-H "Content-Type: application/json" \ -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" "${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"