GitHub PR Event

A mock GitHub Pull Request webhook payload.

Open in JSON Formatter

About this format

GitHub sends JSON payloads whenever events like Pull Requests changing occur in a repository.

Example Data

{
  "action": "synchronize",
  "number": 10,
  "pull_request": {
    "state": "open",
    "head": {
      "ref": "feature-branch"
    }
  }
}

When to use GitHub PR Event

  • Triggering CI pipelines
  • Processing PR approvals
  • Running integration tests