attstore / .github /workflows /webhook-print.yml
dn-scribe's picture
tmp: webhook failure workflow debug
cd253d2
Raw History Blame Contribute Delete
519 Bytes
name: Print Webhook Content
on:
repository_dispatch:
types: [webhook]
jobs:
print-webhook-content:
runs-on: ubuntu-latest
steps:
- name: Dump webhook payload (pretty + compact)
run: |
echo "Webhook event type: ${{ github.event.action }}"
cat > payload.json <<'JSON'
${{ toJson(github.event.client_payload) }}
JSON
echo "Pretty JSON:"
jq . payload.json
echo "Compact one-liner:"
jq -c . payload.json