{
  "action": "handle_hook",
  "issue": {
    "url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1",
    "repository_url": "https://api.github.com/repos/test_user/webhooks_playground",
    "labels_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1/labels{/name}",
    "comments_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1/comments",
    "events_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1/events",
    "html_url": "https://github.com/test_user/webhooks_playground/pull/1",
    "id": 847496523,
    "node_id": "MDExOlB1bGxSZXF1ZXN0NjA2NTA4NTY1",
    "number": 1,
    "title": "added x86_64-linux to known platforms in Gemfile.lock",
    "user": {
      "login": "test_user",
      "id": 206108,
      "node_id": "MDQ6VXNlcjIwNjEwOA==",
      "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/test_user",
      "html_url": "https://github.com/test_user",
      "followers_url": "https://api.github.com/users/test_user/followers",
      "following_url": "https://api.github.com/users/test_user/following{/other_user}",
      "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
      "organizations_url": "https://api.github.com/users/test_user/orgs",
      "repos_url": "https://api.github.com/users/test_user/repos",
      "events_url": "https://api.github.com/users/test_user/events{/privacy}",
      "received_events_url": "https://api.github.com/users/test_user/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [
      {
        "id": 2874042113,
        "node_id": "MDU6TGFiZWwyODc0MDQyMTEz",
        "url": "https://api.github.com/repos/test_user/webhooks_playground/labels/bug",
        "name": "bug",
        "color": "d73a4a",
        "default": true,
        "description": "Something isn't working"
      },
      {
        "id": 2874042116,
        "node_id": "MDU6TGFiZWwyODc0MDQyMTE2",
        "url": "https://api.github.com/repos/test_user/webhooks_playground/labels/enhancement",
        "name": "enhancement",
        "color": "a2eeef",
        "default": true,
        "description": "New feature or request"
      }
    ],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2021-03-31T23:02:40Z",
    "updated_at": "2021-04-06T15:16:03Z",
    "closed_at": "2021-03-31T23:07:10Z",
    "author_association": "OWNER",
    "active_lock_reason": null,
    "pull_request": {
      "url": "https://api.github.com/repos/test_user/webhooks_playground/pulls/1",
      "html_url": "https://github.com/test_user/webhooks_playground/pull/1",
      "diff_url": "https://github.com/test_user/webhooks_playground/pull/1.diff",
      "patch_url": "https://github.com/test_user/webhooks_playground/pull/1.patch"
    },
    "body": "",
    "performed_via_github_app": null
  },
  "comment": {
    "url": "https://api.github.com/repos/test_user/webhooks_playground/issues/comments/814203670",
    "html_url": "https://github.com/test_user/webhooks_playground/pull/1#issuecomment-814203670",
    "issue_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1",
    "id": 814203670,
    "node_id": "MDEyOklzc3VlQ29tbWVudDgxNDIwMzY3MA==",
    "user": {
      "login": "test_user",
      "id": 206108,
      "node_id": "MDQ6VXNlcjIwNjEwOA==",
      "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/test_user",
      "html_url": "https://github.com/test_user",
      "followers_url": "https://api.github.com/users/test_user/followers",
      "following_url": "https://api.github.com/users/test_user/following{/other_user}",
      "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
      "organizations_url": "https://api.github.com/users/test_user/orgs",
      "repos_url": "https://api.github.com/users/test_user/repos",
      "events_url": "https://api.github.com/users/test_user/events{/privacy}",
      "received_events_url": "https://api.github.com/users/test_user/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2021-04-06T15:16:02Z",
    "updated_at": "2021-04-06T15:16:02Z",
    "author_association": "OWNER",
    "body": "${body}",
    "performed_via_github_app": null
  },
  "repository": {
    "id": 353509696,
    "node_id": "MDEwOlJlcG9zaXRvcnkzNTM1MDk2OTY=",
    "name": "webhooks_playground",
    "full_name": "test_user/webhooks_playground",
    "private": false,
    "owner": {
      "login": "test_user",
      "id": 206108,
      "node_id": "MDQ6VXNlcjIwNjEwOA==",
      "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/test_user",
      "html_url": "https://github.com/test_user",
      "followers_url": "https://api.github.com/users/test_user/followers",
      "following_url": "https://api.github.com/users/test_user/following{/other_user}",
      "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
      "organizations_url": "https://api.github.com/users/test_user/orgs",
      "repos_url": "https://api.github.com/users/test_user/repos",
      "events_url": "https://api.github.com/users/test_user/events{/privacy}",
      "received_events_url": "https://api.github.com/users/test_user/received_events",
      "type": "User",
      "site_admin": false
    },
    "html_url": "https://github.com/test_user/webhooks_playground",
    "description": "a toy repo to play with GH webhooks",
    "fork": false,
    "url": "https://api.github.com/repos/test_user/webhooks_playground",
    "forks_url": "https://api.github.com/repos/test_user/webhooks_playground/forks",
    "keys_url": "https://api.github.com/repos/test_user/webhooks_playground/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/test_user/webhooks_playground/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/test_user/webhooks_playground/teams",
    "hooks_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks",
    "issue_events_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/events{/number}",
    "events_url": "https://api.github.com/repos/test_user/webhooks_playground/events",
    "assignees_url": "https://api.github.com/repos/test_user/webhooks_playground/assignees{/user}",
    "branches_url": "https://api.github.com/repos/test_user/webhooks_playground/branches{/branch}",
    "tags_url": "https://api.github.com/repos/test_user/webhooks_playground/tags",
    "blobs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/test_user/webhooks_playground/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/test_user/webhooks_playground/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/test_user/webhooks_playground/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/test_user/webhooks_playground/languages",
    "stargazers_url": "https://api.github.com/repos/test_user/webhooks_playground/stargazers",
    "contributors_url": "https://api.github.com/repos/test_user/webhooks_playground/contributors",
    "subscribers_url": "https://api.github.com/repos/test_user/webhooks_playground/subscribers",
    "subscription_url": "https://api.github.com/repos/test_user/webhooks_playground/subscription",
    "commits_url": "https://api.github.com/repos/test_user/webhooks_playground/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/test_user/webhooks_playground/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/test_user/webhooks_playground/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/test_user/webhooks_playground/contents/{+path}",
    "compare_url": "https://api.github.com/repos/test_user/webhooks_playground/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/test_user/webhooks_playground/merges",
    "archive_url": "https://api.github.com/repos/test_user/webhooks_playground/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/test_user/webhooks_playground/downloads",
    "issues_url": "https://api.github.com/repos/test_user/webhooks_playground/issues{/number}",
    "pulls_url": "https://api.github.com/repos/test_user/webhooks_playground/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/test_user/webhooks_playground/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/test_user/webhooks_playground/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/test_user/webhooks_playground/labels{/name}",
    "releases_url": "https://api.github.com/repos/test_user/webhooks_playground/releases{/id}",
    "deployments_url": "https://api.github.com/repos/test_user/webhooks_playground/deployments",
    "created_at": "2021-03-31T22:46:08Z",
    "updated_at": "2021-03-31T23:08:14Z",
    "pushed_at": "2021-03-31T23:13:18Z",
    "git_url": "git://github.com/test_user/webhooks_playground.git",
    "ssh_url": "git@github.com:test_user/webhooks_playground.git",
    "clone_url": "https://github.com/test_user/webhooks_playground.git",
    "svn_url": "https://github.com/test_user/webhooks_playground",
    "homepage": null,
    "size": 4,
    "stargazers_count": 0,
    "watchers_count": 0,
    "language": "Ruby",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 1,
    "license": {
      "key": "mit",
      "name": "MIT License",
      "spdx_id": "MIT",
      "url": "https://api.github.com/licenses/mit",
      "node_id": "MDc6TGljZW5zZTEz"
    },
    "forks": 0,
    "open_issues": 1,
    "watchers": 0,
    "default_branch": "main"
  },
  "sender": {
    "login": "test_user",
    "id": 206108,
    "node_id": "MDQ6VXNlcjIwNjEwOA==",
    "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/test_user",
    "html_url": "https://github.com/test_user",
    "followers_url": "https://api.github.com/users/test_user/followers",
    "following_url": "https://api.github.com/users/test_user/following{/other_user}",
    "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
    "organizations_url": "https://api.github.com/users/test_user/orgs",
    "repos_url": "https://api.github.com/users/test_user/repos",
    "events_url": "https://api.github.com/users/test_user/events{/privacy}",
    "received_events_url": "https://api.github.com/users/test_user/received_events",
    "type": "User",
    "site_admin": false
  },
  "key": "fc6766384e75423e9149aa9f399354eac46c09cc236baab7707aaab0d8e15114",
  "controller": "webhooks/incoming/hooks",
  "hook_name": "github",
  "payload": {
    "action": "created",
    "issue": {
      "url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1",
      "repository_url": "https://api.github.com/repos/test_user/webhooks_playground",
      "labels_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1/labels{/name}",
      "comments_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1/comments",
      "events_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1/events",
      "html_url": "https://github.com/test_user/webhooks_playground/pull/1",
      "id": 847496523,
      "node_id": "MDExOlB1bGxSZXF1ZXN0NjA2NTA4NTY1",
      "number": 1,
      "title": "added x86_64-linux to known platforms in Gemfile.lock",
      "user": {
        "login": "test_user",
        "id": 206108,
        "node_id": "MDQ6VXNlcjIwNjEwOA==",
        "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/test_user",
        "html_url": "https://github.com/test_user",
        "followers_url": "https://api.github.com/users/test_user/followers",
        "following_url": "https://api.github.com/users/test_user/following{/other_user}",
        "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
        "organizations_url": "https://api.github.com/users/test_user/orgs",
        "repos_url": "https://api.github.com/users/test_user/repos",
        "events_url": "https://api.github.com/users/test_user/events{/privacy}",
        "received_events_url": "https://api.github.com/users/test_user/received_events",
        "type": "User",
        "site_admin": false
      },
      "labels": [
        {
          "id": 2874042113,
          "node_id": "MDU6TGFiZWwyODc0MDQyMTEz",
          "url": "https://api.github.com/repos/test_user/webhooks_playground/labels/bug",
          "name": "bug",
          "color": "d73a4a",
          "default": true,
          "description": "Something isn't working"
        },
        {
          "id": 2874042116,
          "node_id": "MDU6TGFiZWwyODc0MDQyMTE2",
          "url": "https://api.github.com/repos/test_user/webhooks_playground/labels/enhancement",
          "name": "enhancement",
          "color": "a2eeef",
          "default": true,
          "description": "New feature or request"
        }
      ],
      "state": "closed",
      "locked": false,
      "assignee": null,
      "assignees": [],
      "milestone": null,
      "comments": 3,
      "created_at": "2021-03-31T23:02:40Z",
      "updated_at": "2021-04-06T15:16:03Z",
      "closed_at": "2021-03-31T23:07:10Z",
      "author_association": "OWNER",
      "active_lock_reason": null,
      "pull_request": {
        "url": "https://api.github.com/repos/test_user/webhooks_playground/pulls/1",
        "html_url": "https://github.com/test_user/webhooks_playground/pull/1",
        "diff_url": "https://github.com/test_user/webhooks_playground/pull/1.diff",
        "patch_url": "https://github.com/test_user/webhooks_playground/pull/1.patch"
      },
      "body": "",
      "performed_via_github_app": null
    },
    "comment": {
      "url": "https://api.github.com/repos/test_user/webhooks_playground/issues/comments/814203670",
      "html_url": "https://github.com/test_user/webhooks_playground/pull/1#issuecomment-814203670",
      "issue_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/1",
      "id": 814203670,
      "node_id": "MDEyOklzc3VlQ29tbWVudDgxNDIwMzY3MA==",
      "user": {
        "login": "test_user",
        "id": 206108,
        "node_id": "MDQ6VXNlcjIwNjEwOA==",
        "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/test_user",
        "html_url": "https://github.com/test_user",
        "followers_url": "https://api.github.com/users/test_user/followers",
        "following_url": "https://api.github.com/users/test_user/following{/other_user}",
        "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
        "organizations_url": "https://api.github.com/users/test_user/orgs",
        "repos_url": "https://api.github.com/users/test_user/repos",
        "events_url": "https://api.github.com/users/test_user/events{/privacy}",
        "received_events_url": "https://api.github.com/users/test_user/received_events",
        "type": "User",
        "site_admin": false
      },
      "created_at": "2021-04-06T15:16:02Z",
      "updated_at": "2021-04-06T15:16:02Z",
      "author_association": "OWNER",
      "body": "${body}",
      "performed_via_github_app": null
    },
    "repository": {
      "id": 353509696,
      "node_id": "MDEwOlJlcG9zaXRvcnkzNTM1MDk2OTY=",
      "name": "webhooks_playground",
      "full_name": "test_user/webhooks_playground",
      "private": false,
      "owner": {
        "login": "test_user",
        "id": 206108,
        "node_id": "MDQ6VXNlcjIwNjEwOA==",
        "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/test_user",
        "html_url": "https://github.com/test_user",
        "followers_url": "https://api.github.com/users/test_user/followers",
        "following_url": "https://api.github.com/users/test_user/following{/other_user}",
        "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
        "organizations_url": "https://api.github.com/users/test_user/orgs",
        "repos_url": "https://api.github.com/users/test_user/repos",
        "events_url": "https://api.github.com/users/test_user/events{/privacy}",
        "received_events_url": "https://api.github.com/users/test_user/received_events",
        "type": "User",
        "site_admin": false
      },
      "html_url": "https://github.com/test_user/webhooks_playground",
      "description": "a toy repo to play with GH webhooks",
      "fork": false,
      "url": "https://api.github.com/repos/test_user/webhooks_playground",
      "forks_url": "https://api.github.com/repos/test_user/webhooks_playground/forks",
      "keys_url": "https://api.github.com/repos/test_user/webhooks_playground/keys{/key_id}",
      "collaborators_url": "https://api.github.com/repos/test_user/webhooks_playground/collaborators{/collaborator}",
      "teams_url": "https://api.github.com/repos/test_user/webhooks_playground/teams",
      "hooks_url": "https://api.github.com/repos/test_user/webhooks_playground/hooks",
      "issue_events_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/events{/number}",
      "events_url": "https://api.github.com/repos/test_user/webhooks_playground/events",
      "assignees_url": "https://api.github.com/repos/test_user/webhooks_playground/assignees{/user}",
      "branches_url": "https://api.github.com/repos/test_user/webhooks_playground/branches{/branch}",
      "tags_url": "https://api.github.com/repos/test_user/webhooks_playground/tags",
      "blobs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/blobs{/sha}",
      "git_tags_url": "https://api.github.com/repos/test_user/webhooks_playground/git/tags{/sha}",
      "git_refs_url": "https://api.github.com/repos/test_user/webhooks_playground/git/refs{/sha}",
      "trees_url": "https://api.github.com/repos/test_user/webhooks_playground/git/trees{/sha}",
      "statuses_url": "https://api.github.com/repos/test_user/webhooks_playground/statuses/{sha}",
      "languages_url": "https://api.github.com/repos/test_user/webhooks_playground/languages",
      "stargazers_url": "https://api.github.com/repos/test_user/webhooks_playground/stargazers",
      "contributors_url": "https://api.github.com/repos/test_user/webhooks_playground/contributors",
      "subscribers_url": "https://api.github.com/repos/test_user/webhooks_playground/subscribers",
      "subscription_url": "https://api.github.com/repos/test_user/webhooks_playground/subscription",
      "commits_url": "https://api.github.com/repos/test_user/webhooks_playground/commits{/sha}",
      "git_commits_url": "https://api.github.com/repos/test_user/webhooks_playground/git/commits{/sha}",
      "comments_url": "https://api.github.com/repos/test_user/webhooks_playground/comments{/number}",
      "issue_comment_url": "https://api.github.com/repos/test_user/webhooks_playground/issues/comments{/number}",
      "contents_url": "https://api.github.com/repos/test_user/webhooks_playground/contents/{+path}",
      "compare_url": "https://api.github.com/repos/test_user/webhooks_playground/compare/{base}...{head}",
      "merges_url": "https://api.github.com/repos/test_user/webhooks_playground/merges",
      "archive_url": "https://api.github.com/repos/test_user/webhooks_playground/{archive_format}{/ref}",
      "downloads_url": "https://api.github.com/repos/test_user/webhooks_playground/downloads",
      "issues_url": "https://api.github.com/repos/test_user/webhooks_playground/issues{/number}",
      "pulls_url": "https://api.github.com/repos/test_user/webhooks_playground/pulls{/number}",
      "milestones_url": "https://api.github.com/repos/test_user/webhooks_playground/milestones{/number}",
      "notifications_url": "https://api.github.com/repos/test_user/webhooks_playground/notifications{?since,all,participating}",
      "labels_url": "https://api.github.com/repos/test_user/webhooks_playground/labels{/name}",
      "releases_url": "https://api.github.com/repos/test_user/webhooks_playground/releases{/id}",
      "deployments_url": "https://api.github.com/repos/test_user/webhooks_playground/deployments",
      "created_at": "2021-03-31T22:46:08Z",
      "updated_at": "2021-03-31T23:08:14Z",
      "pushed_at": "2021-03-31T23:13:18Z",
      "git_url": "git://github.com/test_user/webhooks_playground.git",
      "ssh_url": "git@github.com:test_user/webhooks_playground.git",
      "clone_url": "https://github.com/test_user/webhooks_playground.git",
      "svn_url": "https://github.com/test_user/webhooks_playground",
      "homepage": null,
      "size": 4,
      "stargazers_count": 0,
      "watchers_count": 0,
      "language": "Ruby",
      "has_issues": true,
      "has_projects": true,
      "has_downloads": true,
      "has_wiki": true,
      "has_pages": false,
      "forks_count": 0,
      "mirror_url": null,
      "archived": false,
      "disabled": false,
      "open_issues_count": 1,
      "license": {
        "key": "mit",
        "name": "MIT License",
        "spdx_id": "MIT",
        "url": "https://api.github.com/licenses/mit",
        "node_id": "MDc6TGljZW5zZTEz"
      },
      "forks": 0,
      "open_issues": 1,
      "watchers": 0,
      "default_branch": "main"
    },
    "sender": {
      "login": "test_user",
      "id": 206108,
      "node_id": "MDQ6VXNlcjIwNjEwOA==",
      "avatar_url": "https://avatars.githubusercontent.com/u/206108?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/test_user",
      "html_url": "https://github.com/test_user",
      "followers_url": "https://api.github.com/users/test_user/followers",
      "following_url": "https://api.github.com/users/test_user/following{/other_user}",
      "gists_url": "https://api.github.com/users/test_user/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/test_user/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/test_user/subscriptions",
      "organizations_url": "https://api.github.com/users/test_user/orgs",
      "repos_url": "https://api.github.com/users/test_user/repos",
      "events_url": "https://api.github.com/users/test_user/events{/privacy}",
      "received_events_url": "https://api.github.com/users/test_user/received_events",
      "type": "User",
      "site_admin": false
    }
  }
}
