lol
Some checks failed
/ build (pull_request) Failing after 45s

This commit is contained in:
lubiana 2024-09-17 18:48:56 +02:00
parent a8e0227eeb
commit 0eb4c290d0
No known key found for this signature in database
2 changed files with 37 additions and 1 deletions

View file

@ -1,4 +1,4 @@
on: [push]
on: [pull_request]
jobs:
build:
env:
@ -9,3 +9,12 @@ jobs:
- run: ls -l /opt
- run: echo 'lol' >> /opt/hostedtoolcache/omg.txt
- run: cat /opt/hostedtoolcache/omg.txt
- name: lol
run: |
output=$(cat ./output.txt)
echo $output
curl -vvv -X POST \
-H "Authorization: token ${GITHUB_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"body": "$output"}' \
"${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"