test
All checks were successful
/ ls (pull_request) Successful in 2m15s

This commit is contained in:
Jonas 2024-09-17 18:36:47 +02:00
parent 8b62f5a79d
commit 582f7816f0
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM

View file

@ -29,10 +29,11 @@ jobs:
cat var/log/infection.txt >> /tmp/pull-request-comment cat var/log/infection.txt >> /tmp/pull-request-comment
cat var/log/summary.log >> /tmp/pull-request-comment cat var/log/summary.log >> /tmp/pull-request-comment
cat /tmp/pull-request-comment cat /tmp/pull-request-comment
output=$(cat /tmp/pull-request-comment)
curl -vvv -X POST \ curl -vvv -X POST \
-H "Authorization: token ${GITHUB_TOKEN}" \ -H "Authorization: token ${GITHUB_TOKEN}" \
-H "Content-Type: application/json" \ -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" "${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
- name: GIT commit and push all changed files - name: GIT commit and push all changed files
env: env: