add debug info

This commit is contained in:
pazpi 2026-01-09 08:30:58 +01:00
parent f60e2f7004
commit 9093743ad6

View file

@ -142,19 +142,14 @@ jobs:
# Post comment to PR using jq for proper JSON escaping
jq -Rs '{body: .}' comment_body.md > payload.json
curl -sf -X POST \
echo "Posting comment to PR #${{ forgejo.event.pull_request.number }} with payload:"
cat payload.json
curl --fail-with-body -X POST \
-H "Authorization: token $PR_TOKEN" \
-H "Content-Type: application/json" \
-d @payload.json \
"${{ forgejo.api_url }}/repos/${{ forgejo.repository }}/issues/${{ forgejo.event.pull_request.number }}/comments"
- name: Check build result
run: |
if [ "${{ steps.build.outcome }}" == "failure" ]; then
echo "Some builds failed - check build-logs artifact"
exit 1
fi
- name: Cleanup
if: always()
run: |