Download .github/workflows/webhook-print.yml from dn-scribe/attstore: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/spaces/dn-scribe/attstore/resolve/main/.github/workflows/webhook-print.yml
- Command line
-
hf download hf://spaces/dn-scribe/attstore/.github/workflows/webhook-print.yml
-
curl -L -o webhook-print.yml https://huggingface.co/spaces/dn-scribe/attstore/resolve/main/.github/workflows/webhook-print.yml
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 | |