github-webhooks-0.16.0: fixtures/pull-request-delete-null-head-repo-anomaly.json
{
"action": "closed",
"number": 254,
"pull_request": {
"url": "https://api.github.com/repos/upstreamowner/therepo/pulls/254",
"id": 57285673867,
"node_id": "PR_kwODAywNcw4ukzp6",
"html_url": "https://github.com/upstreamowner/therepo/pull/254",
"diff_url": "https://github.com/upstreamowner/therepo/pull/254.diff",
"patch_url": "https://github.com/upstreamowner/therepo/pull/254.patch",
"issue_url": "https://api.github.com/repos/upstreamowner/therepo/issues/254",
"number": 254,
"state": "closed",
"locked": false,
"title": "This was a PR title",
"user": {
"login": "thecontributor",
"id": 8425382758,
"node_id": "MDV6XQlcQjN1EjNNQ4T3",
"avatar_url": "https://avatars.githubusercontent.com/u/8425382758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thecontributor",
"html_url": "https://github.com/thecontributor",
"followers_url": "https://api.github.com/users/thecontributor/followers",
"following_url": "https://api.github.com/users/thecontributor/following{/other_user}",
"gists_url": "https://api.github.com/users/thecontributor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thecontributor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thecontributor/subscriptions",
"organizations_url": "https://api.github.com/users/thecontributor/orgs",
"repos_url": "https://api.github.com/users/thecontributor/repos",
"events_url": "https://api.github.com/users/thecontributor/events{/privacy}",
"received_events_url": "https://api.github.com/users/thecontributor/received_events",
"type": "User",
"site_admin": false
},
"body": null,
"created_at": "2021-11-20T20:00:00Z",
"updated_at": "2021-11-20T20:00:00Z",
"closed_at": "2021-11-20T20:00:00Z",
"merged_at": null,
"merge_commit_sha": null,
"assignee": null,
"assignees": [],
"requested_reviewers": [],
"requested_teams": [],
"labels": [],
"milestone": null,
"draft": false,
"commits_url": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/commits",
"review_comments_url": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/comments",
"review_comment_url": "https://api.github.com/repos/upstreamowner/therepo/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/upstreamowner/therepo/issues/254/comments",
"statuses_url": "https://api.github.com/repos/upstreamowner/therepo/statuses/b31c9f3501a256e212364c839050736f49e5fa6e",
"head": {
"label": "thecontributor:master",
"ref": "master",
"sha": "b319cf3510a25e621236c483950073f6495ef6ae",
"user": {
"login": "thecontributor",
"id": 8425382758,
"node_id": "MDQ6VXNlcjQ1NjE4NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/8425382758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thecontributor",
"html_url": "https://github.com/thecontributor",
"followers_url": "https://api.github.com/users/thecontributor/followers",
"following_url": "https://api.github.com/users/thecontributor/following{/other_user}",
"gists_url": "https://api.github.com/users/thecontributor/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thecontributor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thecontributor/subscriptions",
"organizations_url": "https://api.github.com/users/thecontributor/orgs",
"repos_url": "https://api.github.com/users/thecontributor/repos",
"events_url": "https://api.github.com/users/thecontributor/events{/privacy}",
"received_events_url": "https://api.github.com/users/thecontributor/received_events",
"type": "User",
"site_admin": false
},
"repo": null
},
"base": {
"label": "upstreamowner:master",
"ref": "master",
"sha": "a42211bde42a98b41bc673f4e90f7b01b41fde5a",
"user": {
"login": "upstreamowner",
"id": 23804562983764,
"node_id": "MDEykO9yZF2auXpdhGvlbjEM2kT3TOQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upstreamowner",
"html_url": "https://github.com/upstreamowner",
"followers_url": "https://api.github.com/users/upstreamowner/followers",
"following_url": "https://api.github.com/users/upstreamowner/following{/other_user}",
"gists_url": "https://api.github.com/users/upstreamowner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/upstreamowner/subscriptions",
"organizations_url": "https://api.github.com/users/upstreamowner/orgs",
"repos_url": "https://api.github.com/users/upstreamowner/repos",
"events_url": "https://api.github.com/users/upstreamowner/events{/privacy}",
"received_events_url": "https://api.github.com/users/upstreamowner/received_events",
"type": "Organization",
"site_admin": false
},
"repo": {
"id": 53218753,
"node_id": "MDEwOlJlcG9zaXRvcnk1MzIxODc1Mw==",
"name": "therepo",
"full_name": "upstreamowner/therepo",
"private": false,
"owner": {
"login": "upstreamowner",
"id": 23804562983764,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upstreamowner",
"html_url": "https://github.com/upstreamowner",
"followers_url": "https://api.github.com/users/upstreamowner/followers",
"following_url": "https://api.github.com/users/upstreamowner/following{/other_user}",
"gists_url": "https://api.github.com/users/upstreamowner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/upstreamowner/subscriptions",
"organizations_url": "https://api.github.com/users/upstreamowner/orgs",
"repos_url": "https://api.github.com/users/upstreamowner/repos",
"events_url": "https://api.github.com/users/upstreamowner/events{/privacy}",
"received_events_url": "https://api.github.com/users/upstreamowner/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/upstreamowner/therepo",
"description": "Build scripts for the server",
"fork": false,
"url": "https://api.github.com/repos/upstreamowner/therepo",
"forks_url": "https://api.github.com/repos/upstreamowner/therepo/forks",
"keys_url": "https://api.github.com/repos/upstreamowner/therepo/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/upstreamowner/therepo/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/upstreamowner/therepo/teams",
"hooks_url": "https://api.github.com/repos/upstreamowner/therepo/hooks",
"issue_events_url": "https://api.github.com/repos/upstreamowner/therepo/issues/events{/number}",
"events_url": "https://api.github.com/repos/upstreamowner/therepo/events",
"assignees_url": "https://api.github.com/repos/upstreamowner/therepo/assignees{/user}",
"branches_url": "https://api.github.com/repos/upstreamowner/therepo/branches{/branch}",
"tags_url": "https://api.github.com/repos/upstreamowner/therepo/tags",
"blobs_url": "https://api.github.com/repos/upstreamowner/therepo/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/upstreamowner/therepo/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/upstreamowner/therepo/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/upstreamowner/therepo/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/upstreamowner/therepo/statuses/{sha}",
"languages_url": "https://api.github.com/repos/upstreamowner/therepo/languages",
"stargazers_url": "https://api.github.com/repos/upstreamowner/therepo/stargazers",
"contributors_url": "https://api.github.com/repos/upstreamowner/therepo/contributors",
"subscribers_url": "https://api.github.com/repos/upstreamowner/therepo/subscribers",
"subscription_url": "https://api.github.com/repos/upstreamowner/therepo/subscription",
"commits_url": "https://api.github.com/repos/upstreamowner/therepo/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/upstreamowner/therepo/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/upstreamowner/therepo/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/upstreamowner/therepo/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/upstreamowner/therepo/contents/{+path}",
"compare_url": "https://api.github.com/repos/upstreamowner/therepo/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/upstreamowner/therepo/merges",
"archive_url": "https://api.github.com/repos/upstreamowner/therepo/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/upstreamowner/therepo/downloads",
"issues_url": "https://api.github.com/repos/upstreamowner/therepo/issues{/number}",
"pulls_url": "https://api.github.com/repos/upstreamowner/therepo/pulls{/number}",
"milestones_url": "https://api.github.com/repos/upstreamowner/therepo/milestones{/number}",
"notifications_url": "https://api.github.com/repos/upstreamowner/therepo/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/upstreamowner/therepo/labels{/name}",
"releases_url": "https://api.github.com/repos/upstreamowner/therepo/releases{/id}",
"deployments_url": "https://api.github.com/repos/upstreamowner/therepo/deployments",
"created_at": "2016-01-01T00:00:00Z",
"updated_at": "2021-11-13T22:00:00Z",
"pushed_at": "2021-11-20T20:00:00Z",
"git_url": "git://github.com/upstreamowner/therepo.git",
"ssh_url": "git@github.com:upstreamowner/therepo.git",
"clone_url": "https://github.com/upstreamowner/therepo.git",
"svn_url": "https://github.com/upstreamowner/therepo",
"homepage": "",
"size": 429518,
"stargazers_count": 8,
"watchers_count": 8,
"language": "SomeLanguage",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 17,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 3,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"topics": [
"mods",
"nix"
],
"visibility": "public",
"forks": 17,
"open_issues": 3,
"watchers": 8,
"default_branch": "master",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_auto_merge": false,
"delete_branch_on_merge": false,
"allow_update_branch": false
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/upstreamowner/therepo/pulls/254"
},
"html": {
"href": "https://github.com/upstreamowner/therepo/pull/254"
},
"issue": {
"href": "https://api.github.com/repos/upstreamowner/therepo/issues/254"
},
"comments": {
"href": "https://api.github.com/repos/upstreamowner/therepo/issues/254/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/upstreamowner/therepo/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/commits"
},
"statuses": {
"href": "https://api.github.com/repos/upstreamowner/therepo/statuses/b31c9f3501a256e212364c839050736f49e5fa6e"
}
},
"author_association": "CONTRIBUTOR",
"auto_merge": null,
"active_lock_reason": null,
"merged": false,
"mergeable": false,
"rebaseable": false,
"mergeable_state": "dirty",
"merged_by": null,
"comments": 2,
"review_comments": 0,
"maintainer_can_modify": false,
"commits": 4,
"additions": 21424,
"deletions": 0,
"changed_files": 1605
},
"repository": {
"id": 53218753,
"node_id": "MDEwOlJlcG9zaXRvcnk1MzIxODc1Mw==",
"name": "therepo",
"full_name": "upstreamowner/therepo",
"private": false,
"owner": {
"login": "upstreamowner",
"id": 23804562983764,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upstreamowner",
"html_url": "https://github.com/upstreamowner",
"followers_url": "https://api.github.com/users/upstreamowner/followers",
"following_url": "https://api.github.com/users/upstreamowner/following{/other_user}",
"gists_url": "https://api.github.com/users/upstreamowner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/upstreamowner/subscriptions",
"organizations_url": "https://api.github.com/users/upstreamowner/orgs",
"repos_url": "https://api.github.com/users/upstreamowner/repos",
"events_url": "https://api.github.com/users/upstreamowner/events{/privacy}",
"received_events_url": "https://api.github.com/users/upstreamowner/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/upstreamowner/therepo",
"description": "Build scripts for the server",
"fork": false,
"url": "https://api.github.com/repos/upstreamowner/therepo",
"forks_url": "https://api.github.com/repos/upstreamowner/therepo/forks",
"keys_url": "https://api.github.com/repos/upstreamowner/therepo/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/upstreamowner/therepo/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/upstreamowner/therepo/teams",
"hooks_url": "https://api.github.com/repos/upstreamowner/therepo/hooks",
"issue_events_url": "https://api.github.com/repos/upstreamowner/therepo/issues/events{/number}",
"events_url": "https://api.github.com/repos/upstreamowner/therepo/events",
"assignees_url": "https://api.github.com/repos/upstreamowner/therepo/assignees{/user}",
"branches_url": "https://api.github.com/repos/upstreamowner/therepo/branches{/branch}",
"tags_url": "https://api.github.com/repos/upstreamowner/therepo/tags",
"blobs_url": "https://api.github.com/repos/upstreamowner/therepo/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/upstreamowner/therepo/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/upstreamowner/therepo/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/upstreamowner/therepo/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/upstreamowner/therepo/statuses/{sha}",
"languages_url": "https://api.github.com/repos/upstreamowner/therepo/languages",
"stargazers_url": "https://api.github.com/repos/upstreamowner/therepo/stargazers",
"contributors_url": "https://api.github.com/repos/upstreamowner/therepo/contributors",
"subscribers_url": "https://api.github.com/repos/upstreamowner/therepo/subscribers",
"subscription_url": "https://api.github.com/repos/upstreamowner/therepo/subscription",
"commits_url": "https://api.github.com/repos/upstreamowner/therepo/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/upstreamowner/therepo/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/upstreamowner/therepo/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/upstreamowner/therepo/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/upstreamowner/therepo/contents/{+path}",
"compare_url": "https://api.github.com/repos/upstreamowner/therepo/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/upstreamowner/therepo/merges",
"archive_url": "https://api.github.com/repos/upstreamowner/therepo/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/upstreamowner/therepo/downloads",
"issues_url": "https://api.github.com/repos/upstreamowner/therepo/issues{/number}",
"pulls_url": "https://api.github.com/repos/upstreamowner/therepo/pulls{/number}",
"milestones_url": "https://api.github.com/repos/upstreamowner/therepo/milestones{/number}",
"notifications_url": "https://api.github.com/repos/upstreamowner/therepo/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/upstreamowner/therepo/labels{/name}",
"releases_url": "https://api.github.com/repos/upstreamowner/therepo/releases{/id}",
"deployments_url": "https://api.github.com/repos/upstreamowner/therepo/deployments",
"created_at": "2016-01-01T00:00:00Z",
"updated_at": "2021-11-13T22:00:00Z",
"pushed_at": "2021-11-20T20:00:00Z",
"git_url": "git://github.com/upstreamowner/therepo.git",
"ssh_url": "git@github.com:upstreamowner/therepo.git",
"clone_url": "https://github.com/upstreamowner/therepo.git",
"svn_url": "https://github.com/upstreamowner/therepo",
"homepage": "",
"size": 429518,
"stargazers_count": 8,
"watchers_count": 8,
"language": "SomeLanguage",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 17,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 3,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"topics": [
"mods",
"nix"
],
"visibility": "public",
"forks": 17,
"open_issues": 3,
"watchers": 8,
"default_branch": "master"
},
"organization": {
"login": "upstreamowner",
"id": 23804562983764,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3",
"url": "https://api.github.com/orgs/upstreamowner",
"repos_url": "https://api.github.com/orgs/upstreamowner/repos",
"events_url": "https://api.github.com/orgs/upstreamowner/events",
"hooks_url": "https://api.github.com/orgs/upstreamowner/hooks",
"issues_url": "https://api.github.com/orgs/upstreamowner/issues",
"members_url": "https://api.github.com/orgs/upstreamowner/members{/member}",
"public_members_url": "https://api.github.com/orgs/upstreamowner/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4",
"description": null
},
"sender": {
"login": "thesender",
"id": 3290456203984,
"node_id": "MDQV6XlNcjwIzNkMzjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3290456203984?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thesender",
"html_url": "https://github.com/thesender",
"followers_url": "https://api.github.com/users/thesender/followers",
"following_url": "https://api.github.com/users/thesender/following{/other_user}",
"gists_url": "https://api.github.com/users/thesender/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thesender/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thesender/subscriptions",
"organizations_url": "https://api.github.com/users/thesender/orgs",
"repos_url": "https://api.github.com/users/thesender/repos",
"events_url": "https://api.github.com/users/thesender/events{/privacy}",
"received_events_url": "https://api.github.com/users/thesender/received_events",
"type": "User",
"site_admin": false
},
"installation": {
"id": 6678514558,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNjY3ODU1OA=="
}
}