Skip to content

Commit

Permalink
chore: update sample payloads (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Mar 26, 2022
1 parent bcd70cc commit 598d086
Show file tree
Hide file tree
Showing 26 changed files with 285 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,40 +105,7 @@
"team_discussions": "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",
"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"
]
"events": []
},
"created_at": "2019-05-15T15:20:31Z",
"updated_at": "2019-05-15T15:21:14Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,47 @@
"created_at": "2022-01-03T01:27:48Z",
"updated_at": "2022-01-03T01:28:40Z",
"run_attempt": 1,
"run_started_at": "2022-01-03T01:27:48Z"
"run_started_at": "2022-01-03T01:27:48Z",
"actor": {
"avatar_url": "https://avatars0.githubusercontent.com/u/15669918?v=4",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"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}",
"gravatar_id": "",
"html_url": "https://github.com/Codertocat",
"id": 15669918,
"login": "Codertocat",
"node_id": "MDQ6VXNlcjE1NjY5OTE4",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codertocat"
},
"triggering_actor": {
"avatar_url": "https://avatars0.githubusercontent.com/u/15669918?v=4",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"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}",
"gravatar_id": "",
"html_url": "https://github.com/Codertocat",
"id": 15669918,
"login": "Codertocat",
"node_id": "MDQ6VXNlcjE1NjY5OTE4",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codertocat"
}
},
"repository": {
"id": 186853002,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,47 @@
"created_at": "2022-01-03T01:27:48Z",
"updated_at": "2022-01-03T01:28:40Z",
"run_attempt": 1,
"run_started_at": "2022-01-03T01:27:48Z"
"run_started_at": "2022-01-03T01:27:48Z",
"actor": {
"avatar_url": "https://avatars0.githubusercontent.com/u/15669918?v=4",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"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}",
"gravatar_id": "",
"html_url": "https://github.com/Codertocat",
"id": 15669918,
"login": "Codertocat",
"node_id": "MDQ6VXNlcjE1NjY5OTE4",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codertocat"
},
"triggering_actor": {
"avatar_url": "https://avatars0.githubusercontent.com/u/15669918?v=4",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"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}",
"gravatar_id": "",
"html_url": "https://github.com/Codertocat",
"id": 15669918,
"login": "Codertocat",
"node_id": "MDQ6VXNlcjE1NjY5OTE4",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codertocat"
}
},
"repository": {
"id": 186853002,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "edited",
"discussion": {
"repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "labeled",
"discussion": {
"repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "locked",
"discussion": {
"repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "deleted",
"issue": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/issues/1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "reopened",
"issue": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/issues/1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "unpinned",
"issue": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/issues/1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "removed",
"scope": "team",
"member": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "resolved",
"pull_request": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "unresolved",
"pull_request": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "created",
"release": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "deleted",
"release": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "edited",
"changes": { "name": { "from": "FOO" }, "body": { "from": "" } },
"release": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "prereleased",
"release": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "published",
"release": {
"url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
"action": "create",
"alert": {
"id": 91095730,
"number": 2,
"node_id": "MDU6SXNzdWU5MTA5NzcyMw==",
"state": "open",
"affected_range": ">= 2.0.4, < 2.0.6",
"affected_package_name": "rack",
"external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-16470",
"external_identifier": "CVE-2018-16470",
"fixed_in": "2.0.6"
"fixed_in": "2.0.6",
"ghsa_id": "GHSA-qqgx-2p2h-9c37",
"severity": "moderate",
"created_at": "2021-03-01T01:23:45Z"
},
"repository": {
"id": 186853002,
Expand Down Expand Up @@ -110,7 +115,7 @@
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
"action": "create",
"alert": {
"id": 91095730,
"number": 2,
"node_id": "MDU6SXNzdWU5MTA5NzcyMw==",
"state": "open",
"affected_range": ">= 2.0.4, < 2.0.6",
"affected_package_name": "rack",
"external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-16470",
"external_identifier": "CVE-2018-16470",
"fixed_in": "2.0.6"
"fixed_in": "2.0.6",
"ghsa_id": "GHSA-qqgx-2p2h-9c37",
"created_at": "2018-11-01T00:00:00Z",
"severity": "moderate"
},
"repository": {
"id": 186853002,
Expand Down Expand Up @@ -124,7 +129,7 @@
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"action": "dismiss",
"alert": {
"id": 7649605,
"node_id": "MDU6SXNzdWU0Mzk5NjM2MjE=",
"number": 2,
"state": "dismissed",
"affected_range": "0.2.0",
"affected_package_name": "many_versioned_gem",
"external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-3728",
Expand All @@ -28,7 +31,10 @@
"site_admin": true
},
"dismiss_reason": "No bandwidth to fix this",
"dismissed_at": "2017-10-25T00:00:00+00:00"
"dismissed_at": "2017-10-25T00:00:00+00:00",
"created_at": "2017-10-25T00:00:00+00:00",
"severity": "moderate",
"ghsa_id": "GHSA-qqgx-2p2h-9c37"
},
"repository": {
"id": 186853002,
Expand Down Expand Up @@ -131,7 +137,7 @@
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4",
"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",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "in_progress",
"workflow_job": {
"id": 289782451,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"action": "queued",
"workflow_job": {
"id": 289782451,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,46 @@
"updated_at": "2020-10-05T16:33:49Z",
"url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/289782451",
"workflow_id": 2823525,
"workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/2823525"
"workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/2823525",
"actor": {
"avatar_url": "https://avatars0.githubusercontent.com/u/15669918?v=4",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"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}",
"gravatar_id": "",
"html_url": "https://github.com/Codertocat",
"id": 15669918,
"login": "Codertocat",
"node_id": "MDQ6VXNlcjE1NjY5OTE4",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codertocat"
},
"triggering_actor": {
"avatar_url": "https://avatars0.githubusercontent.com/u/15669918?v=4",
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
"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}",
"gravatar_id": "",
"html_url": "https://github.com/Codertocat",
"id": 15669918,
"login": "Codertocat",
"node_id": "MDQ6VXNlcjE1NjY5OTE4",
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"repos_url": "https://api.github.com/users/Codertocat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codertocat"
}
}
}
Loading

0 comments on commit 598d086

Please sign in to comment.