Skip to content

Instantly share code, notes, and snippets.

@haya14busa
Created May 28, 2018 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haya14busa/2aaffaa89a224ee2ffcbd3d414d6d009 to your computer and use it in GitHub Desktop.
Save haya14busa/2aaffaa89a224ee2ffcbd3d414d6d009 to your computer and use it in GitHub Desktop.
GitHub check suite requested webhook
{
"action": "requested",
"check_suite": {
"id": 1327986,
"head_branch": "doghouse",
"head_sha": "42bb1f609122e6b79c5341119e06acb3dc7f5967",
"status": "queued",
"conclusion": null,
"url": "https://api.github.com/repos/haya14busa/reviewdog/check-suites/1327986",
"before": "cd0964ac01b0111443ab510b01d0eeecdf652d3e",
"after": "42bb1f609122e6b79c5341119e06acb3dc7f5967",
"pull_requests": [
{
"url": "https://api.github.com/repos/haya14busa/reviewdog/pulls/126",
"id": 187666846,
"number": 126,
"head": {
"ref": "doghouse",
"sha": "42bb1f609122e6b79c5341119e06acb3dc7f5967",
"repo": {
"id": 71133469,
"url": "https://api.github.com/repos/haya14busa/reviewdog",
"name": "reviewdog"
}
},
"base": {
"ref": "master",
"sha": "663a64c881c61c515d5a1a6c639f13b4aebbd3e3",
"repo": {
"id": 71133469,
"url": "https://api.github.com/repos/haya14busa/reviewdog",
"name": "reviewdog"
}
}
}
],
"app": {
"id": 12131,
"owner": {
"login": "haya14busa",
"id": 3797062,
"avatar_url": "https://avatars0.githubusercontent.com/u/3797062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haya14busa",
"html_url": "https://github.com/haya14busa",
"followers_url": "https://api.github.com/users/haya14busa/followers",
"following_url": "https://api.github.com/users/haya14busa/following{/other_user}",
"gists_url": "https://api.github.com/users/haya14busa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haya14busa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haya14busa/subscriptions",
"organizations_url": "https://api.github.com/users/haya14busa/orgs",
"repos_url": "https://api.github.com/users/haya14busa/repos",
"events_url": "https://api.github.com/users/haya14busa/events{/privacy}",
"received_events_url": "https://api.github.com/users/haya14busa/received_events",
"type": "User",
"site_admin": false
},
"name": "reviewdog",
"description": "",
"external_url": "https://github.com/haya14busa/reviewdog",
"html_url": "https://github.com/apps/reviewdog",
"created_at": 1526108286,
"updated_at": 1527420252
},
"created_at": "2018-05-27T18:17:28Z",
"updated_at": "2018-05-27T18:17:28Z",
"unique_check_runs_count": 0,
"check_runs_url": "https://api.github.com/repos/haya14busa/reviewdog/check-suites/1327986/check-runs",
"head_commit": {
"id": "42bb1f609122e6b79c5341119e06acb3dc7f5967",
"tree_id": "978c5f75e724b59bc755afb35506f5b4c8b4763e",
"message": "doghouse: client: set REVIEWDOG_TOKEN",
"timestamp": "2018-05-27T18:16:50Z",
"author": {
"name": "haya14busa",
"email": "haya14busa@gmail.com"
},
"committer": {
"name": "haya14busa",
"email": "haya14busa@gmail.com"
}
}
},
"repository": {
"id": 71133469,
"name": "reviewdog",
"full_name": "haya14busa/reviewdog",
"owner": {
"login": "haya14busa",
"id": 3797062,
"avatar_url": "https://avatars0.githubusercontent.com/u/3797062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haya14busa",
"html_url": "https://github.com/haya14busa",
"followers_url": "https://api.github.com/users/haya14busa/followers",
"following_url": "https://api.github.com/users/haya14busa/following{/other_user}",
"gists_url": "https://api.github.com/users/haya14busa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haya14busa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haya14busa/subscriptions",
"organizations_url": "https://api.github.com/users/haya14busa/orgs",
"repos_url": "https://api.github.com/users/haya14busa/repos",
"events_url": "https://api.github.com/users/haya14busa/events{/privacy}",
"received_events_url": "https://api.github.com/users/haya14busa/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/haya14busa/reviewdog",
"description": ":dog: A code review dog who keeps your codebase healthy",
"fork": false,
"url": "https://api.github.com/repos/haya14busa/reviewdog",
"forks_url": "https://api.github.com/repos/haya14busa/reviewdog/forks",
"keys_url": "https://api.github.com/repos/haya14busa/reviewdog/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/haya14busa/reviewdog/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/haya14busa/reviewdog/teams",
"hooks_url": "https://api.github.com/repos/haya14busa/reviewdog/hooks",
"issue_events_url": "https://api.github.com/repos/haya14busa/reviewdog/issues/events{/number}",
"events_url": "https://api.github.com/repos/haya14busa/reviewdog/events",
"assignees_url": "https://api.github.com/repos/haya14busa/reviewdog/assignees{/user}",
"branches_url": "https://api.github.com/repos/haya14busa/reviewdog/branches{/branch}",
"tags_url": "https://api.github.com/repos/haya14busa/reviewdog/tags",
"blobs_url": "https://api.github.com/repos/haya14busa/reviewdog/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/haya14busa/reviewdog/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/haya14busa/reviewdog/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/haya14busa/reviewdog/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/haya14busa/reviewdog/statuses/{sha}",
"languages_url": "https://api.github.com/repos/haya14busa/reviewdog/languages",
"stargazers_url": "https://api.github.com/repos/haya14busa/reviewdog/stargazers",
"contributors_url": "https://api.github.com/repos/haya14busa/reviewdog/contributors",
"subscribers_url": "https://api.github.com/repos/haya14busa/reviewdog/subscribers",
"subscription_url": "https://api.github.com/repos/haya14busa/reviewdog/subscription",
"commits_url": "https://api.github.com/repos/haya14busa/reviewdog/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/haya14busa/reviewdog/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/haya14busa/reviewdog/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/haya14busa/reviewdog/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/haya14busa/reviewdog/contents/{+path}",
"compare_url": "https://api.github.com/repos/haya14busa/reviewdog/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/haya14busa/reviewdog/merges",
"archive_url": "https://api.github.com/repos/haya14busa/reviewdog/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/haya14busa/reviewdog/downloads",
"issues_url": "https://api.github.com/repos/haya14busa/reviewdog/issues{/number}",
"pulls_url": "https://api.github.com/repos/haya14busa/reviewdog/pulls{/number}",
"milestones_url": "https://api.github.com/repos/haya14busa/reviewdog/milestones{/number}",
"notifications_url": "https://api.github.com/repos/haya14busa/reviewdog/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/haya14busa/reviewdog/labels{/name}",
"releases_url": "https://api.github.com/repos/haya14busa/reviewdog/releases{/id}",
"deployments_url": "https://api.github.com/repos/haya14busa/reviewdog/deployments",
"created_at": "2016-10-17T11:58:34Z",
"updated_at": "2018-05-23T15:31:11Z",
"pushed_at": "2018-05-27T18:17:27Z",
"git_url": "git://github.com/haya14busa/reviewdog.git",
"ssh_url": "git@github.com:haya14busa/reviewdog.git",
"clone_url": "https://github.com/haya14busa/reviewdog.git",
"svn_url": "https://github.com/haya14busa/reviewdog",
"homepage": "https://medium.com/@haya14busa/reviewdog-a-code-review-dog-who-keeps-your-codebase-healthy-d957c471938b#.8xctbaw5u",
"size": 314,
"stargazers_count": 542,
"watchers_count": 542,
"language": "Go",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 33,
"mirror_url": null,
"archived": false,
"open_issues_count": 15,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit"
},
"forks": 33,
"open_issues": 15,
"watchers": 542,
"default_branch": "master"
},
"sender": {
"login": "haya14busa",
"id": 3797062,
"avatar_url": "https://avatars0.githubusercontent.com/u/3797062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haya14busa",
"html_url": "https://github.com/haya14busa",
"followers_url": "https://api.github.com/users/haya14busa/followers",
"following_url": "https://api.github.com/users/haya14busa/following{/other_user}",
"gists_url": "https://api.github.com/users/haya14busa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haya14busa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haya14busa/subscriptions",
"organizations_url": "https://api.github.com/users/haya14busa/orgs",
"repos_url": "https://api.github.com/users/haya14busa/repos",
"events_url": "https://api.github.com/users/haya14busa/events{/privacy}",
"received_events_url": "https://api.github.com/users/haya14busa/received_events",
"type": "User",
"site_admin": false
},
"installation": {
"id": 176908
}
}
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/dc07019
X-GitHub-Delivery: 37157cc0-61da-11e8-8edb-866a80edd3e4
X-GitHub-Event: check_suite
X-Hub-Signature: sha1=xxxxxxxxxxxxxxxxxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment