~/tools / 08 / github-pull-request-event
GitHub Webhook Matrix
CI bots, merge queues, and deployment triggers all pivot on the pull_request event — specifically on action, merged, and the head/base refs. These templates replay the two payloads that matter most: a fresh "opened" PR your automation should pick up, and a "closed" event where merged: true separates a real merge from a discarded branch.
compose payload
— validating —
exported mock url
simulated response headers
content-type: application/json
x-github-event: pull_request
x-github-delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
x-hub-signature-256: sha256=mock_not_a_real_signature
$ man github-pr
Everything above is encoded into the #data= fragment of the exported URL — deflated and base64url-packed by your browser. Fragments are never sent to any server, so this mock is shareable and private. Paste the URL anywhere: a teammate's browser decodes it identically.