This commit is contained in:
parent
c84d4b9508
commit
aa33708dee
1 changed files with 2 additions and 2 deletions
|
@ -26,10 +26,10 @@ jobs:
|
|||
run: composer mutation
|
||||
- name: Add comment to pull request
|
||||
run: |
|
||||
echo '\`\`\`' >> /tmp/pull-request-comment
|
||||
echo '```' >> /tmp/pull-request-comment
|
||||
cat var/log/infection.txt >> /tmp/pull-request-comment
|
||||
cat var/log/summary.log >> /tmp/pull-request-comment
|
||||
echo '\`\`\`' >> /tmp/pull-request-comment
|
||||
echo '```' >> /tmp/pull-request-comment
|
||||
jq -n --arg msg "$(cat /tmp/pull-request-comment)" '{"body": $msg}' > /tmp/git-msg
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||
|
|
Loading…
Reference in a new issue