-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
workflow_job
schema (#534)
- Loading branch information
Showing
10 changed files
with
844 additions
and
0 deletions.
There are no files selected for viewing
245 changes: 245 additions & 0 deletions
245
...oad-examples/api.github.com/workflow_job/completed.failure.with-organization.payload.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,245 @@ | ||
{ | ||
"action": "completed", | ||
"workflow_job": { | ||
"id": 289782451, | ||
"run_id": 2202229078, | ||
"run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1291536064", | ||
"node_id": "MDExOldvcmtmbG93UnVuMjg5NzgyNDUx", | ||
"head_sha": "3484a3fb816e0859fd6e1cea078d76385ff50625", | ||
"url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/1291536064", | ||
"html_url": "https://github.com/octo-org/octo-repo/runs/1291536064", | ||
"status": "completed", | ||
"conclusion": "failure", | ||
"started_at": "2021-08-05T10:34:58Z", | ||
"completed_at": "2021-08-05T10:38:16Z", | ||
"name": "linters", | ||
"steps": [ | ||
{ | ||
"name": "Set up job", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 1, | ||
"started_at": "2021-08-05T10:26:08.000Z", | ||
"completed_at": "2021-08-05T10:26:11.000Z" | ||
}, | ||
{ | ||
"name": "Run actions/checkout@v2", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 2, | ||
"started_at": "2021-08-05T10:26:11.000Z", | ||
"completed_at": "2021-08-05T10:26:12.000Z" | ||
}, | ||
{ | ||
"name": "Run actions/setup-node@v2", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 3, | ||
"started_at": "2021-08-05T10:26:12.000Z", | ||
"completed_at": "2021-08-05T10:26:12.000Z" | ||
}, | ||
{ | ||
"name": "Get yarn cache directory path", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 4, | ||
"started_at": "2021-08-05T10:26:12.000Z", | ||
"completed_at": "2021-08-05T10:26:12.000Z" | ||
}, | ||
{ | ||
"name": "Run actions/cache@v2", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 5, | ||
"started_at": "2021-08-05T10:26:12.000Z", | ||
"completed_at": "2021-08-05T10:26:15.000Z" | ||
}, | ||
{ | ||
"name": "Run yarn install", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 6, | ||
"started_at": "2021-08-05T10:26:15.000Z", | ||
"completed_at": "2021-08-05T10:26:25.000Z" | ||
}, | ||
{ | ||
"name": "Run yarn run js-lint", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 7, | ||
"started_at": "2021-08-05T10:26:25.000Z", | ||
"completed_at": "2021-08-05T10:26:27.000Z" | ||
}, | ||
{ | ||
"name": "Run yarn run format-check", | ||
"status": "completed", | ||
"conclusion": "failure", | ||
"number": 8, | ||
"started_at": "2021-08-05T10:26:27.000Z", | ||
"completed_at": "2021-08-05T10:26:28.000Z" | ||
}, | ||
{ | ||
"name": "Post Run actions/cache@v2", | ||
"status": "completed", | ||
"conclusion": "skipped", | ||
"number": 14, | ||
"started_at": "2021-08-05T10:26:28.000Z", | ||
"completed_at": "2021-08-05T10:26:28.000Z" | ||
}, | ||
{ | ||
"name": "Post Run actions/setup-node@v2", | ||
"status": "completed", | ||
"conclusion": "skipped", | ||
"number": 15, | ||
"started_at": "2021-08-05T10:26:28.000Z", | ||
"completed_at": "2021-08-05T10:26:28.000Z" | ||
}, | ||
{ | ||
"name": "Post Run actions/checkout@v2", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 16, | ||
"started_at": "2021-08-05T10:26:28.000Z", | ||
"completed_at": "2021-08-05T10:26:28.000Z" | ||
}, | ||
{ | ||
"name": "Complete job", | ||
"status": "completed", | ||
"conclusion": "success", | ||
"number": 17, | ||
"started_at": "2021-08-05T10:26:28.000Z", | ||
"completed_at": "2021-08-05T10:26:28.000Z" | ||
} | ||
], | ||
"check_run_url": "https://api.github.com/repos/octo-org/octo-repo/check-runs/1291536064", | ||
"labels": ["ubuntu-latest"] | ||
}, | ||
"repository": { | ||
"id": 186853002, | ||
"node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", | ||
"name": "Hello-World", | ||
"full_name": "Codertocat/Hello-World", | ||
"private": false, | ||
"owner": { | ||
"login": "Octocoders", | ||
"id": 38302899, | ||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/Octocoders", | ||
"html_url": "https://github.com/Octocoders", | ||
"followers_url": "https://api.github.com/users/Octocoders/followers", | ||
"following_url": "https://api.github.com/users/Octocoders/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", | ||
"organizations_url": "https://api.github.com/users/Octocoders/orgs", | ||
"repos_url": "https://api.github.com/users/Octocoders/repos", | ||
"events_url": "https://api.github.com/users/Octocoders/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/Octocoders/received_events", | ||
"type": "Organization", | ||
"site_admin": false | ||
}, | ||
"html_url": "https://github.com/Codertocat/Hello-World", | ||
"description": null, | ||
"fork": false, | ||
"url": "https://api.github.com/repos/Codertocat/Hello-World", | ||
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", | ||
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", | ||
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", | ||
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", | ||
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", | ||
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", | ||
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", | ||
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", | ||
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", | ||
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", | ||
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", | ||
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", | ||
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", | ||
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", | ||
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", | ||
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", | ||
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", | ||
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", | ||
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", | ||
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", | ||
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", | ||
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", | ||
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", | ||
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", | ||
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", | ||
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", | ||
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", | ||
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", | ||
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", | ||
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", | ||
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", | ||
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", | ||
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", | ||
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", | ||
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", | ||
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", | ||
"created_at": "2019-05-15T15:19:25Z", | ||
"updated_at": "2019-05-15T15:19:27Z", | ||
"pushed_at": "2019-05-15T15:20:32Z", | ||
"git_url": "git://github.com/Codertocat/Hello-World.git", | ||
"ssh_url": "git@github.com:Codertocat/Hello-World.git", | ||
"clone_url": "https://github.com/Codertocat/Hello-World.git", | ||
"svn_url": "https://github.com/Codertocat/Hello-World", | ||
"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": true, | ||
"forks_count": 0, | ||
"mirror_url": null, | ||
"archived": false, | ||
"disabled": false, | ||
"open_issues_count": 2, | ||
"license": null, | ||
"forks": 0, | ||
"open_issues": 2, | ||
"watchers": 0, | ||
"default_branch": "master" | ||
}, | ||
"organization": { | ||
"login": "Octocoders", | ||
"id": 38302899, | ||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", | ||
"url": "https://api.github.com/orgs/Octocoders", | ||
"repos_url": "https://api.github.com/orgs/Octocoders/repos", | ||
"events_url": "https://api.github.com/orgs/Octocoders/events", | ||
"hooks_url": "https://api.github.com/orgs/Octocoders/hooks", | ||
"issues_url": "https://api.github.com/orgs/Octocoders/issues", | ||
"members_url": "https://api.github.com/orgs/Octocoders/members{/member}", | ||
"public_members_url": "https://api.github.com/orgs/Octocoders/public_members{/member}", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", | ||
"description": "" | ||
}, | ||
"sender": { | ||
"login": "Codertocat", | ||
"id": 21031067, | ||
"node_id": "MDQ6VXNlcjIxMDMxMDY3", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/Codertocat", | ||
"html_url": "https://github.com/Codertocat", | ||
"followers_url": "https://api.github.com/users/Codertocat/followers", | ||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", | ||
"organizations_url": "https://api.github.com/users/Codertocat/orgs", | ||
"repos_url": "https://api.github.com/users/Codertocat/repos", | ||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/Codertocat/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
} | ||
} |
Oops, something went wrong.