From 07fefc2c5c52812f911a48defb6aa7ba39c31400 Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 17 Sep 2024 20:14:54 +0200 Subject: [PATCH] test --- .forgejo/workflows/demo.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index 417e825..36f6093 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -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"