Skip to content

Commit

Permalink
Merge pull request #337 from gitautoai/wes
Browse files Browse the repository at this point in the history
Add check_run completed webhook payload example
  • Loading branch information
hiroshinishio authored Oct 24, 2024
2 parents 1f640a9 + bc6ad5f commit bb32def
Showing 1 changed file with 395 additions and 0 deletions.
395 changes: 395 additions & 0 deletions payloads/check_run/completed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,395 @@
{
"action": "completed",
"check_run": {
"id": 31710113401,
"name": "MSBuild (3.9)",
"node_id": "CR_kwDOM--tKc8AAAAHYhHueQ",
"head_sha": "cf4fb4f60a67e1b8ff1447ba72cb5131e4979ed7",
"external_id": "312e9aa0-de28-546d-3462-8d46f0cf99e7",
"url": "https://api.github.com/repos/hiroshinishio/tetris/check-runs/31710113401",
"html_url": "https://github.com/hiroshinishio/tetris/actions/runs/11393174689/job/31710113401",
"details_url": "https://github.com/hiroshinishio/tetris/actions/runs/11393174689/job/31710113401",
"status": "completed",
"conclusion": "failure",
"started_at": "2024-10-18T02:31:12Z",
"completed_at": "2024-10-18T02:31:43Z",
"output": {
"title": null,
"summary": null,
"text": null,
"annotations_count": 2,
"annotations_url": "https://api.github.com/repos/hiroshinishio/tetris/check-runs/31710113401/annotations"
},
"check_suite": {
"id": 29769196747,
"node_id": "CS_kwDOM--tKc8AAAAG7mHkyw",
"head_branch": "gitauto-wes/issue-#1-b002415c-aa59-4551-95a5-503c1b4f892c",
"head_sha": "cf4fb4f60a67e1b8ff1447ba72cb5131e4979ed7",
"status": "in_progress",
"conclusion": null,
"url": "https://api.github.com/repos/hiroshinishio/tetris/check-suites/29769196747",
"before": "978659814fdcc95b4fbd16ffc44c5bf23f5f66c4",
"after": "cf4fb4f60a67e1b8ff1447ba72cb5131e4979ed7",
"pull_requests": [
{
"url": "https://api.github.com/repos/hiroshinishio/tetris/pulls/8",
"id": 2131041354,
"number": 8,
"head": {
"ref": "gitauto-wes/issue-#1-b002415c-aa59-4551-95a5-503c1b4f892c",
"sha": "cf4fb4f60a67e1b8ff1447ba72cb5131e4979ed7",
"repo": {
"id": 871345449,
"url": "https://api.github.com/repos/hiroshinishio/tetris",
"name": "tetris"
}
},
"base": {
"ref": "master",
"sha": "79e4970c636c0435ab8f1ed79a1292c580d2d5fe",
"repo": {
"id": 871345449,
"url": "https://api.github.com/repos/hiroshinishio/tetris",
"name": "tetris"
}
}
}
],
"app": {
"id": 15368,
"client_id": "Iv1.05c79e9ad1f6bdfa",
"slug": "github-actions",
"node_id": "MDM6QXBwMTUzNjg=",
"owner": {
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github",
"html_url": "https://github.com/github",
"followers_url": "https://api.github.com/users/github/followers",
"following_url": "https://api.github.com/users/github/following{/other_user}",
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
"organizations_url": "https://api.github.com/users/github/orgs",
"repos_url": "https://api.github.com/users/github/repos",
"events_url": "https://api.github.com/users/github/events{/privacy}",
"received_events_url": "https://api.github.com/users/github/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"name": "GitHub Actions",
"description": "Automate your workflow from idea to production",
"external_url": "https://help.github.com/en/actions",
"html_url": "https://github.com/apps/github-actions",
"created_at": "2018-07-30T09:30:17Z",
"updated_at": "2024-04-10T20:33:16Z",
"permissions": {
"actions": "write",
"administration": "read",
"attestations": "write",
"checks": "write",
"contents": "write",
"deployments": "write",
"discussions": "write",
"issues": "write",
"merge_queues": "write",
"metadata": "read",
"packages": "write",
"pages": "write",
"pull_requests": "write",
"repository_hooks": "write",
"repository_projects": "write",
"security_events": "write",
"statuses": "write",
"vulnerability_alerts": "read"
},
"events": [
"branch_protection_rule",
"check_run",
"check_suite",
"create",
"delete",
"deployment",
"deployment_status",
"discussion",
"discussion_comment",
"fork",
"gollum",
"issues",
"issue_comment",
"label",
"merge_group",
"milestone",
"page_build",
"project",
"project_card",
"project_column",
"public",
"pull_request",
"pull_request_review",
"pull_request_review_comment",
"push",
"registry_package",
"release",
"repository",
"repository_dispatch",
"status",
"watch",
"workflow_dispatch",
"workflow_run"
]
},
"created_at": "2024-10-17T21:16:29Z",
"updated_at": "2024-10-18T02:31:13Z"
},
"app": {
"id": 15368,
"client_id": "Iv1.05c79e9ad1f6bdfa",
"slug": "github-actions",
"node_id": "MDM6QXBwMTUzNjg=",
"owner": {
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github",
"html_url": "https://github.com/github",
"followers_url": "https://api.github.com/users/github/followers",
"following_url": "https://api.github.com/users/github/following{/other_user}",
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
"organizations_url": "https://api.github.com/users/github/orgs",
"repos_url": "https://api.github.com/users/github/repos",
"events_url": "https://api.github.com/users/github/events{/privacy}",
"received_events_url": "https://api.github.com/users/github/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"name": "GitHub Actions",
"description": "Automate your workflow from idea to production",
"external_url": "https://help.github.com/en/actions",
"html_url": "https://github.com/apps/github-actions",
"created_at": "2018-07-30T09:30:17Z",
"updated_at": "2024-04-10T20:33:16Z",
"permissions": {
"actions": "write",
"administration": "read",
"attestations": "write",
"checks": "write",
"contents": "write",
"deployments": "write",
"discussions": "write",
"issues": "write",
"merge_queues": "write",
"metadata": "read",
"packages": "write",
"pages": "write",
"pull_requests": "write",
"repository_hooks": "write",
"repository_projects": "write",
"security_events": "write",
"statuses": "write",
"vulnerability_alerts": "read"
},
"events": [
"branch_protection_rule",
"check_run",
"check_suite",
"create",
"delete",
"deployment",
"deployment_status",
"discussion",
"discussion_comment",
"fork",
"gollum",
"issues",
"issue_comment",
"label",
"merge_group",
"milestone",
"page_build",
"project",
"project_card",
"project_column",
"public",
"pull_request",
"pull_request_review",
"pull_request_review_comment",
"push",
"registry_package",
"release",
"repository",
"repository_dispatch",
"status",
"watch",
"workflow_dispatch",
"workflow_run"
]
},
"pull_requests": [
{
"url": "https://api.github.com/repos/hiroshinishio/tetris/pulls/8",
"id": 2131041354,
"number": 8,
"head": {
"ref": "gitauto-wes/issue-#1-b002415c-aa59-4551-95a5-503c1b4f892c",
"sha": "cf4fb4f60a67e1b8ff1447ba72cb5131e4979ed7",
"repo": {
"id": 871345449,
"url": "https://api.github.com/repos/hiroshinishio/tetris",
"name": "tetris"
}
},
"base": {
"ref": "master",
"sha": "79e4970c636c0435ab8f1ed79a1292c580d2d5fe",
"repo": {
"id": 871345449,
"url": "https://api.github.com/repos/hiroshinishio/tetris",
"name": "tetris"
}
}
}
]
},
"repository": {
"id": 871345449,
"node_id": "R_kgDOM--tKQ",
"name": "tetris",
"full_name": "hiroshinishio/tetris",
"private": false,
"owner": {
"login": "hiroshinishio",
"id": 4620828,
"node_id": "MDQ6VXNlcjQ2MjA4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4620828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiroshinishio",
"html_url": "https://github.com/hiroshinishio",
"followers_url": "https://api.github.com/users/hiroshinishio/followers",
"following_url": "https://api.github.com/users/hiroshinishio/following{/other_user}",
"gists_url": "https://api.github.com/users/hiroshinishio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hiroshinishio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hiroshinishio/subscriptions",
"organizations_url": "https://api.github.com/users/hiroshinishio/orgs",
"repos_url": "https://api.github.com/users/hiroshinishio/repos",
"events_url": "https://api.github.com/users/hiroshinishio/events{/privacy}",
"received_events_url": "https://api.github.com/users/hiroshinishio/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/hiroshinishio/tetris",
"description": "A Tetris Game for programming education in Japanese",
"fork": true,
"url": "https://api.github.com/repos/hiroshinishio/tetris",
"forks_url": "https://api.github.com/repos/hiroshinishio/tetris/forks",
"keys_url": "https://api.github.com/repos/hiroshinishio/tetris/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/hiroshinishio/tetris/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/hiroshinishio/tetris/teams",
"hooks_url": "https://api.github.com/repos/hiroshinishio/tetris/hooks",
"issue_events_url": "https://api.github.com/repos/hiroshinishio/tetris/issues/events{/number}",
"events_url": "https://api.github.com/repos/hiroshinishio/tetris/events",
"assignees_url": "https://api.github.com/repos/hiroshinishio/tetris/assignees{/user}",
"branches_url": "https://api.github.com/repos/hiroshinishio/tetris/branches{/branch}",
"tags_url": "https://api.github.com/repos/hiroshinishio/tetris/tags",
"blobs_url": "https://api.github.com/repos/hiroshinishio/tetris/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/hiroshinishio/tetris/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/hiroshinishio/tetris/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/hiroshinishio/tetris/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/hiroshinishio/tetris/statuses/{sha}",
"languages_url": "https://api.github.com/repos/hiroshinishio/tetris/languages",
"stargazers_url": "https://api.github.com/repos/hiroshinishio/tetris/stargazers",
"contributors_url": "https://api.github.com/repos/hiroshinishio/tetris/contributors",
"subscribers_url": "https://api.github.com/repos/hiroshinishio/tetris/subscribers",
"subscription_url": "https://api.github.com/repos/hiroshinishio/tetris/subscription",
"commits_url": "https://api.github.com/repos/hiroshinishio/tetris/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/hiroshinishio/tetris/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/hiroshinishio/tetris/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/hiroshinishio/tetris/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/hiroshinishio/tetris/contents/{+path}",
"compare_url": "https://api.github.com/repos/hiroshinishio/tetris/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/hiroshinishio/tetris/merges",
"archive_url": "https://api.github.com/repos/hiroshinishio/tetris/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/hiroshinishio/tetris/downloads",
"issues_url": "https://api.github.com/repos/hiroshinishio/tetris/issues{/number}",
"pulls_url": "https://api.github.com/repos/hiroshinishio/tetris/pulls{/number}",
"milestones_url": "https://api.github.com/repos/hiroshinishio/tetris/milestones{/number}",
"notifications_url": "https://api.github.com/repos/hiroshinishio/tetris/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/hiroshinishio/tetris/labels{/name}",
"releases_url": "https://api.github.com/repos/hiroshinishio/tetris/releases{/id}",
"deployments_url": "https://api.github.com/repos/hiroshinishio/tetris/deployments",
"created_at": "2024-10-11T19:06:18Z",
"updated_at": "2024-10-11T19:06:41Z",
"pushed_at": "2024-10-17T21:15:43Z",
"git_url": "git://github.com/hiroshinishio/tetris.git",
"ssh_url": "git@github.com:hiroshinishio/tetris.git",
"clone_url": "https://github.com/hiroshinishio/tetris.git",
"svn_url": "https://github.com/hiroshinishio/tetris",
"homepage": "",
"size": 7867,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 4,
"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,
"web_commit_signoff_required": false,
"topics": [],
"visibility": "public",
"forks": 0,
"open_issues": 4,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "gitauto-for-dev[bot]",
"id": 160085510,
"node_id": "BOT_kgDOCYq2Bg",
"avatar_url": "https://avatars.githubusercontent.com/in/828792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D",
"html_url": "https://github.com/apps/gitauto-for-dev",
"followers_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/gitauto-for-dev%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 52733965,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNTI3MzM5NjU="
}
}

0 comments on commit bb32def

Please sign in to comment.