This commit is contained in:
parent
8b62f5a79d
commit
582f7816f0
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue