mockdock.dev

~/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

▸ open mock ↗
simulated response headers

$ 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.

grep -i related-searches

  • github pull_request webhook payload example
  • mock github webhook event
  • pr merged webhook json
  • test github webhook handler locally
  • x-github-event pull_request sample