lubitest/.forgejo/workflows/demo.yml
lubiana a35e4a7f6a
Some checks failed
/ build (pull_request) Failing after 18s
test
2024-09-17 18:51:52 +02:00

18 lines
556 B
YAML

on: [pull_request]
jobs:
build:
runs-on: docker
container:
image: git.php.fail/lubiana/container/php:ci
steps:
- name: lol
run: |
ls -l
pwd
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"