chore: improve debug-event job payload dump [skip ci]

This commit is contained in:
Vlad Mocanu committed 2026-02-25 23:47:04 +02:00
1 parent a129a15f61
commit 97dd0863c7
1 file changed
+18 -5
+18 -5
View File
@@ -23,12 +23,25 @@ jobs:
echo "=== Event Context ===" echo "=== Event Context ==="
echo "github.event_name: ${{ github.event_name }}" echo "github.event_name: ${{ github.event_name }}"
echo "github.event.action: ${{ github.event.action }}" echo "github.event.action: ${{ github.event.action }}"
echo "github.event.comment.body: ${{ github.event.comment.body }}"
echo "github.event.review.body: ${{ github.event.review.body }}"
echo "GITHUB_EVENT_NAME env: $GITHUB_EVENT_NAME"
echo "" echo ""
echo "=== Event Payload (first 200 lines) ===" echo "=== Comment fields ==="
cat "$GITHUB_EVENT_PATH" | head -200 echo "github.event.comment.body: ${{ github.event.comment.body }}"
echo "github.event.comment.id: ${{ github.event.comment.id }}"
echo ""
echo "=== Review fields ==="
echo "github.event.review.body: ${{ github.event.review.body }}"
echo "github.event.review.id: ${{ github.event.review.id }}"
echo ""
echo "=== GITHUB_EVENT_NAME env: $GITHUB_EVENT_NAME ==="
echo "=== GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH ==="
echo ""
echo "=== Event Payload ==="
if [ -f "$GITHUB_EVENT_PATH" ]; then
cat "$GITHUB_EVENT_PATH"
else
echo "GITHUB_EVENT_PATH file not found!"
env | grep -i event || true
fi
claude: claude:
if: | if: |