diff --git a/.forgejo/workflows/pull_request.yml b/.forgejo/workflows/pull_request.yml index 5853a92..b665c8b 100644 --- a/.forgejo/workflows/pull_request.yml +++ b/.forgejo/workflows/pull_request.yml @@ -29,10 +29,11 @@ jobs: cat var/log/infection.txt >> /tmp/pull-request-comment cat var/log/summary.log >> /tmp/pull-request-comment cat /tmp/pull-request-comment + output=$(cat /tmp/pull-request-comment) curl -vvv -X POST \ -H "Authorization: token ${GITHUB_TOKEN}" \ -H "Content-Type: application/json" \ - -d '{"body": "$(cat /tmp/pull-request-comment)"}' \ + -d '{"body": "${{ output }}"}' \ "${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" - name: GIT commit and push all changed files env: