add debug info
This commit is contained in:
parent
f60e2f7004
commit
9093743ad6
1 changed files with 3 additions and 8 deletions
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue