zulip/zerver/webhooks/github/fixtures/pull_request__unlocked.json

465 lines
26 KiB
JSON
Raw Normal View History

{
"action":"unlocked",
"number":1,
"pull_request":{
"url":"https://api.github.com/repos/tushar912/public-repo/pulls/1",
"id":579107344,
"node_id":"MDExOlB1bGxSZXF1ZXN0NTc5MTA3MzQ0",
"html_url":"https://github.com/tushar912/public-repo/pull/1",
"diff_url":"https://github.com/tushar912/public-repo/pull/1.diff",
"patch_url":"https://github.com/tushar912/public-repo/pull/1.patch",
"issue_url":"https://api.github.com/repos/tushar912/public-repo/issues/1",
"number":1,
"state":"open",
"locked":false,
"title":"Update the README with new information",
"user":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
},
"body":"",
"created_at":"2021-02-24T08:29:15Z",
"updated_at":"2021-02-24T08:30:16Z",
"closed_at":null,
"merged_at":null,
"merge_commit_sha":"ed1a02e41801c337ffda8e2e303e726446109ad6",
"assignee":null,
"assignees":[
],
"requested_reviewers":[
],
"requested_teams":[
],
"labels":[
],
"milestone":null,
"draft":false,
"commits_url":"https://api.github.com/repos/tushar912/public-repo/pulls/1/commits",
"review_comments_url":"https://api.github.com/repos/tushar912/public-repo/pulls/1/comments",
"review_comment_url":"https://api.github.com/repos/tushar912/public-repo/pulls/comments{/number}",
"comments_url":"https://api.github.com/repos/tushar912/public-repo/issues/1/comments",
"statuses_url":"https://api.github.com/repos/tushar912/public-repo/statuses/97a23cd1e6892c67c9a6b2ac0a4cf8d68e39c09f",
"head":{
"label":"tushar912:test",
"ref":"test",
"sha":"97a23cd1e6892c67c9a6b2ac0a4cf8d68e39c09f",
"user":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
},
"repo":{
"id":341802507,
"node_id":"MDEwOlJlcG9zaXRvcnkzNDE4MDI1MDc=",
"name":"public-repo",
"full_name":"tushar912/public-repo",
"private":false,
"owner":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
},
"html_url":"https://github.com/tushar912/public-repo",
"description":null,
"fork":false,
"url":"https://api.github.com/repos/tushar912/public-repo",
"forks_url":"https://api.github.com/repos/tushar912/public-repo/forks",
"keys_url":"https://api.github.com/repos/tushar912/public-repo/keys{/key_id}",
"collaborators_url":"https://api.github.com/repos/tushar912/public-repo/collaborators{/collaborator}",
"teams_url":"https://api.github.com/repos/tushar912/public-repo/teams",
"hooks_url":"https://api.github.com/repos/tushar912/public-repo/hooks",
"issue_events_url":"https://api.github.com/repos/tushar912/public-repo/issues/events{/number}",
"events_url":"https://api.github.com/repos/tushar912/public-repo/events",
"assignees_url":"https://api.github.com/repos/tushar912/public-repo/assignees{/user}",
"branches_url":"https://api.github.com/repos/tushar912/public-repo/branches{/branch}",
"tags_url":"https://api.github.com/repos/tushar912/public-repo/tags",
"blobs_url":"https://api.github.com/repos/tushar912/public-repo/git/blobs{/sha}",
"git_tags_url":"https://api.github.com/repos/tushar912/public-repo/git/tags{/sha}",
"git_refs_url":"https://api.github.com/repos/tushar912/public-repo/git/refs{/sha}",
"trees_url":"https://api.github.com/repos/tushar912/public-repo/git/trees{/sha}",
"statuses_url":"https://api.github.com/repos/tushar912/public-repo/statuses/{sha}",
"languages_url":"https://api.github.com/repos/tushar912/public-repo/languages",
"stargazers_url":"https://api.github.com/repos/tushar912/public-repo/stargazers",
"contributors_url":"https://api.github.com/repos/tushar912/public-repo/contributors",
"subscribers_url":"https://api.github.com/repos/tushar912/public-repo/subscribers",
"subscription_url":"https://api.github.com/repos/tushar912/public-repo/subscription",
"commits_url":"https://api.github.com/repos/tushar912/public-repo/commits{/sha}",
"git_commits_url":"https://api.github.com/repos/tushar912/public-repo/git/commits{/sha}",
"comments_url":"https://api.github.com/repos/tushar912/public-repo/comments{/number}",
"issue_comment_url":"https://api.github.com/repos/tushar912/public-repo/issues/comments{/number}",
"contents_url":"https://api.github.com/repos/tushar912/public-repo/contents/{+path}",
"compare_url":"https://api.github.com/repos/tushar912/public-repo/compare/{base}...{head}",
"merges_url":"https://api.github.com/repos/tushar912/public-repo/merges",
"archive_url":"https://api.github.com/repos/tushar912/public-repo/{archive_format}{/ref}",
"downloads_url":"https://api.github.com/repos/tushar912/public-repo/downloads",
"issues_url":"https://api.github.com/repos/tushar912/public-repo/issues{/number}",
"pulls_url":"https://api.github.com/repos/tushar912/public-repo/pulls{/number}",
"milestones_url":"https://api.github.com/repos/tushar912/public-repo/milestones{/number}",
"notifications_url":"https://api.github.com/repos/tushar912/public-repo/notifications{?since,all,participating}",
"labels_url":"https://api.github.com/repos/tushar912/public-repo/labels{/name}",
"releases_url":"https://api.github.com/repos/tushar912/public-repo/releases{/id}",
"deployments_url":"https://api.github.com/repos/tushar912/public-repo/deployments",
"created_at":"2021-02-24T06:30:47Z",
"updated_at":"2021-02-24T06:30:50Z",
"pushed_at":"2021-02-24T08:29:15Z",
"git_url":"git://github.com/tushar912/public-repo.git",
"ssh_url":"git@github.com:tushar912/public-repo.git",
"clone_url":"https://github.com/tushar912/public-repo.git",
"svn_url":"https://github.com/tushar912/public-repo",
"homepage":null,
"size":0,
"stargazers_count":0,
"watchers_count":0,
"language":null,
"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":null,
"forks":0,
"open_issues":1,
"watchers":0,
"default_branch":"main",
"allow_squash_merge":true,
"allow_merge_commit":true,
"allow_rebase_merge":true,
"delete_branch_on_merge":false
}
},
"base":{
"label":"tushar912:main",
"ref":"main",
"sha":"039310a8db95a3486c3787e4bf20dbe5ce6c9877",
"user":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
},
"repo":{
"id":341802507,
"node_id":"MDEwOlJlcG9zaXRvcnkzNDE4MDI1MDc=",
"name":"public-repo",
"full_name":"tushar912/public-repo",
"private":false,
"owner":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
},
"html_url":"https://github.com/tushar912/public-repo",
"description":null,
"fork":false,
"url":"https://api.github.com/repos/tushar912/public-repo",
"forks_url":"https://api.github.com/repos/tushar912/public-repo/forks",
"keys_url":"https://api.github.com/repos/tushar912/public-repo/keys{/key_id}",
"collaborators_url":"https://api.github.com/repos/tushar912/public-repo/collaborators{/collaborator}",
"teams_url":"https://api.github.com/repos/tushar912/public-repo/teams",
"hooks_url":"https://api.github.com/repos/tushar912/public-repo/hooks",
"issue_events_url":"https://api.github.com/repos/tushar912/public-repo/issues/events{/number}",
"events_url":"https://api.github.com/repos/tushar912/public-repo/events",
"assignees_url":"https://api.github.com/repos/tushar912/public-repo/assignees{/user}",
"branches_url":"https://api.github.com/repos/tushar912/public-repo/branches{/branch}",
"tags_url":"https://api.github.com/repos/tushar912/public-repo/tags",
"blobs_url":"https://api.github.com/repos/tushar912/public-repo/git/blobs{/sha}",
"git_tags_url":"https://api.github.com/repos/tushar912/public-repo/git/tags{/sha}",
"git_refs_url":"https://api.github.com/repos/tushar912/public-repo/git/refs{/sha}",
"trees_url":"https://api.github.com/repos/tushar912/public-repo/git/trees{/sha}",
"statuses_url":"https://api.github.com/repos/tushar912/public-repo/statuses/{sha}",
"languages_url":"https://api.github.com/repos/tushar912/public-repo/languages",
"stargazers_url":"https://api.github.com/repos/tushar912/public-repo/stargazers",
"contributors_url":"https://api.github.com/repos/tushar912/public-repo/contributors",
"subscribers_url":"https://api.github.com/repos/tushar912/public-repo/subscribers",
"subscription_url":"https://api.github.com/repos/tushar912/public-repo/subscription",
"commits_url":"https://api.github.com/repos/tushar912/public-repo/commits{/sha}",
"git_commits_url":"https://api.github.com/repos/tushar912/public-repo/git/commits{/sha}",
"comments_url":"https://api.github.com/repos/tushar912/public-repo/comments{/number}",
"issue_comment_url":"https://api.github.com/repos/tushar912/public-repo/issues/comments{/number}",
"contents_url":"https://api.github.com/repos/tushar912/public-repo/contents/{+path}",
"compare_url":"https://api.github.com/repos/tushar912/public-repo/compare/{base}...{head}",
"merges_url":"https://api.github.com/repos/tushar912/public-repo/merges",
"archive_url":"https://api.github.com/repos/tushar912/public-repo/{archive_format}{/ref}",
"downloads_url":"https://api.github.com/repos/tushar912/public-repo/downloads",
"issues_url":"https://api.github.com/repos/tushar912/public-repo/issues{/number}",
"pulls_url":"https://api.github.com/repos/tushar912/public-repo/pulls{/number}",
"milestones_url":"https://api.github.com/repos/tushar912/public-repo/milestones{/number}",
"notifications_url":"https://api.github.com/repos/tushar912/public-repo/notifications{?since,all,participating}",
"labels_url":"https://api.github.com/repos/tushar912/public-repo/labels{/name}",
"releases_url":"https://api.github.com/repos/tushar912/public-repo/releases{/id}",
"deployments_url":"https://api.github.com/repos/tushar912/public-repo/deployments",
"created_at":"2021-02-24T06:30:47Z",
"updated_at":"2021-02-24T06:30:50Z",
"pushed_at":"2021-02-24T08:29:15Z",
"git_url":"git://github.com/tushar912/public-repo.git",
"ssh_url":"git@github.com:tushar912/public-repo.git",
"clone_url":"https://github.com/tushar912/public-repo.git",
"svn_url":"https://github.com/tushar912/public-repo",
"homepage":null,
"size":0,
"stargazers_count":0,
"watchers_count":0,
"language":null,
"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":null,
"forks":0,
"open_issues":1,
"watchers":0,
"default_branch":"main",
"allow_squash_merge":true,
"allow_merge_commit":true,
"allow_rebase_merge":true,
"delete_branch_on_merge":false
}
},
"_links":{
"self":{
"href":"https://api.github.com/repos/tushar912/public-repo/pulls/1"
},
"html":{
"href":"https://github.com/tushar912/public-repo/pull/1"
},
"issue":{
"href":"https://api.github.com/repos/tushar912/public-repo/issues/1"
},
"comments":{
"href":"https://api.github.com/repos/tushar912/public-repo/issues/1/comments"
},
"review_comments":{
"href":"https://api.github.com/repos/tushar912/public-repo/pulls/1/comments"
},
"review_comment":{
"href":"https://api.github.com/repos/tushar912/public-repo/pulls/comments{/number}"
},
"commits":{
"href":"https://api.github.com/repos/tushar912/public-repo/pulls/1/commits"
},
"statuses":{
"href":"https://api.github.com/repos/tushar912/public-repo/statuses/97a23cd1e6892c67c9a6b2ac0a4cf8d68e39c09f"
}
},
"author_association":"OWNER",
"auto_merge":null,
"active_lock_reason":null,
"merged":false,
"mergeable":true,
"rebaseable":true,
"mergeable_state":"clean",
"merged_by":null,
"comments":0,
"review_comments":0,
"maintainer_can_modify":false,
"commits":1,
"additions":1,
"deletions":1,
"changed_files":1
},
"repository":{
"id":341802507,
"node_id":"MDEwOlJlcG9zaXRvcnkzNDE4MDI1MDc=",
"name":"public-repo",
"full_name":"tushar912/public-repo",
"private":false,
"owner":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
},
"html_url":"https://github.com/tushar912/public-repo",
"description":null,
"fork":false,
"url":"https://api.github.com/repos/tushar912/public-repo",
"forks_url":"https://api.github.com/repos/tushar912/public-repo/forks",
"keys_url":"https://api.github.com/repos/tushar912/public-repo/keys{/key_id}",
"collaborators_url":"https://api.github.com/repos/tushar912/public-repo/collaborators{/collaborator}",
"teams_url":"https://api.github.com/repos/tushar912/public-repo/teams",
"hooks_url":"https://api.github.com/repos/tushar912/public-repo/hooks",
"issue_events_url":"https://api.github.com/repos/tushar912/public-repo/issues/events{/number}",
"events_url":"https://api.github.com/repos/tushar912/public-repo/events",
"assignees_url":"https://api.github.com/repos/tushar912/public-repo/assignees{/user}",
"branches_url":"https://api.github.com/repos/tushar912/public-repo/branches{/branch}",
"tags_url":"https://api.github.com/repos/tushar912/public-repo/tags",
"blobs_url":"https://api.github.com/repos/tushar912/public-repo/git/blobs{/sha}",
"git_tags_url":"https://api.github.com/repos/tushar912/public-repo/git/tags{/sha}",
"git_refs_url":"https://api.github.com/repos/tushar912/public-repo/git/refs{/sha}",
"trees_url":"https://api.github.com/repos/tushar912/public-repo/git/trees{/sha}",
"statuses_url":"https://api.github.com/repos/tushar912/public-repo/statuses/{sha}",
"languages_url":"https://api.github.com/repos/tushar912/public-repo/languages",
"stargazers_url":"https://api.github.com/repos/tushar912/public-repo/stargazers",
"contributors_url":"https://api.github.com/repos/tushar912/public-repo/contributors",
"subscribers_url":"https://api.github.com/repos/tushar912/public-repo/subscribers",
"subscription_url":"https://api.github.com/repos/tushar912/public-repo/subscription",
"commits_url":"https://api.github.com/repos/tushar912/public-repo/commits{/sha}",
"git_commits_url":"https://api.github.com/repos/tushar912/public-repo/git/commits{/sha}",
"comments_url":"https://api.github.com/repos/tushar912/public-repo/comments{/number}",
"issue_comment_url":"https://api.github.com/repos/tushar912/public-repo/issues/comments{/number}",
"contents_url":"https://api.github.com/repos/tushar912/public-repo/contents/{+path}",
"compare_url":"https://api.github.com/repos/tushar912/public-repo/compare/{base}...{head}",
"merges_url":"https://api.github.com/repos/tushar912/public-repo/merges",
"archive_url":"https://api.github.com/repos/tushar912/public-repo/{archive_format}{/ref}",
"downloads_url":"https://api.github.com/repos/tushar912/public-repo/downloads",
"issues_url":"https://api.github.com/repos/tushar912/public-repo/issues{/number}",
"pulls_url":"https://api.github.com/repos/tushar912/public-repo/pulls{/number}",
"milestones_url":"https://api.github.com/repos/tushar912/public-repo/milestones{/number}",
"notifications_url":"https://api.github.com/repos/tushar912/public-repo/notifications{?since,all,participating}",
"labels_url":"https://api.github.com/repos/tushar912/public-repo/labels{/name}",
"releases_url":"https://api.github.com/repos/tushar912/public-repo/releases{/id}",
"deployments_url":"https://api.github.com/repos/tushar912/public-repo/deployments",
"created_at":"2021-02-24T06:30:47Z",
"updated_at":"2021-02-24T06:30:50Z",
"pushed_at":"2021-02-24T08:29:15Z",
"git_url":"git://github.com/tushar912/public-repo.git",
"ssh_url":"git@github.com:tushar912/public-repo.git",
"clone_url":"https://github.com/tushar912/public-repo.git",
"svn_url":"https://github.com/tushar912/public-repo",
"homepage":null,
"size":0,
"stargazers_count":0,
"watchers_count":0,
"language":null,
"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":null,
"forks":0,
"open_issues":1,
"watchers":0,
"default_branch":"main"
},
"sender":{
"login":"tushar912",
"id":59223034,
"node_id":"MDQ6VXNlcjU5MjIzMDM0",
"avatar_url":"https://avatars.githubusercontent.com/u/59223034?v=4",
"gravatar_id":"",
"url":"https://api.github.com/users/tushar912",
"html_url":"https://github.com/tushar912",
"followers_url":"https://api.github.com/users/tushar912/followers",
"following_url":"https://api.github.com/users/tushar912/following{/other_user}",
"gists_url":"https://api.github.com/users/tushar912/gists{/gist_id}",
"starred_url":"https://api.github.com/users/tushar912/starred{/owner}{/repo}",
"subscriptions_url":"https://api.github.com/users/tushar912/subscriptions",
"organizations_url":"https://api.github.com/users/tushar912/orgs",
"repos_url":"https://api.github.com/users/tushar912/repos",
"events_url":"https://api.github.com/users/tushar912/events{/privacy}",
"received_events_url":"https://api.github.com/users/tushar912/received_events",
"type":"User",
"site_admin":false
}
}