diff --git a/cache/api.github.com/webhook-events-and-payloads.html b/cache/api.github.com/webhook-events-and-payloads.html index bfaaad628..71e81c142 100644 --- a/cache/api.github.com/webhook-events-and-payloads.html +++ b/cache/api.github.com/webhook-events-and-payloads.html @@ -4,7 +4,17 @@
Note: Payloads are capped at 25 MB. If your event @@ -1641,7 +1662,16 @@
Note: The Checks API only looks for pushes in the @@ -1818,10 +1848,19 @@
head_sha
and head_branch
. When the check
- suite's head_branch
is in a forked repository it will
- be null
and the pull_requests
array will
- be empty.
+ head_branch
.head_sha
of the check suite can differ from
+ the sha
of the pull request if subsequent pushes
+ are made into the PR.
+ head_branch
is in a forked
+ repository it will be null
and the
+ pull_requests
array will be empty.
+ Note: The Checks API only looks for pushes in the @@ -2442,10 +2490,19 @@
head_sha
and head_branch
. When the check
- suite's head_branch
is in a forked repository it will
- be null
and the pull_requests
array will
- be empty.
+ head_branch
.head_sha
of the check suite can differ from
+ the sha
of the pull request if subsequent pushes
+ are made into the PR.
+ head_branch
is in a forked
+ repository it will be null
and the
+ pull_requests
array will be empty.
+ Note: You will not receive a webhook for this event @@ -3818,7 +3884,16 @@
Note: You will not receive a webhook for this event @@ -5164,7 +5239,16 @@
Note: Webhook events for GitHub Discussions are @@ -5537,7 +5621,16 @@
Note: Webhook events for GitHub Discussions are @@ -11710,7 +11803,16 @@
Note: This event does not occur for Projects (beta). @@ -12079,7 +12181,16 @@
Note: This event does not occur for Projects (beta). @@ -15087,8 +15198,12 @@
One or more commits are pushed to a repository branch or tag.
-- Note: You will not receive a webhook for this event - when you push more than three tags at once. -
-
+ Activity related to a comment thread on a pull request being marked as
+ resolved or unresolved. The type of activity is specified in the
+ action
property of the payload object.
+
contents
permissionpull_requests
permissionref
string
git ref
- that was pushed. Example: refs/heads/main
or
- refs/tags/v3.14.1
.
- before
string
ref
before the
- push.
- after
string
ref
after the
- push.
- created
boolean
ref
.deleted
boolean
ref
.forced
boolean
ref
.head_commit
object
after
is or points to a commit
- object, an expanded representation of that commit. For pushes
- where after
refers to an annotated tag object, an
- expanded representation of the commit pointed to by the annotated
- tag.
- compare
action
string
ref
update, from
- the before
commit to the after
commit.
- For a newly created ref
that is directly based on the
- default branch, this is the comparison between the head of the
- default branch and the after
commit. Otherwise, this
- shows all commits until the after
commit.
- commits
array
compare
between the before
commit and
- the after
commit.)
+ The action that was performed. Can be one of:
+ resolved
- A comment thread on a pull request was
+ marked as resolved.
+ unresolved
- A previously resolved comment thread
+ on a pull request was marked as unresolved.
+ commits[][id]
string
commits[][timestamp]
string
commits[][message]
string
commits[][author]
pull_request
object
commits[][author][name]
string
commits[][author][email]
string
commits[][url]
url
commits[][distinct]
boolean
commits[][added]
array
commits[][modified]
array
commits[][removed]
array
pusher
thread
object
repository
{
- "ref": "refs/tags/simple-tag",
- "before": "0000000000000000000000000000000000000000",
- "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
- "created": true,
- "deleted": false,
- "forced": false,
- "base_ref": "refs/heads/main",
- "compare": "https://github.com/Codertocat/Hello-World/compare/simple-tag",
- "commits": [],
- "head_commit": {
- "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
- "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
- "distinct": true,
- "message": "Adding a .gitignore file",
- "timestamp": "2019-05-15T15:20:41Z",
- "url": "https://github.com/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246",
- "author": {
- "name": "Codertocat",
- "email": "21031067+Codertocat@users.noreply.github.com",
- "username": "Codertocat"
- },
- "committer": {
- "name": "Codertocat",
- "email": "21031067+Codertocat@users.noreply.github.com",
- "username": "Codertocat"
- },
- "added": [
- ".gitignore"
- ],
- "removed": [],
- "modified": []
- },
- "repository": {
- "id": 186853002,
- "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
- "name": "Hello-World",
- "full_name": "Codertocat/Hello-World",
- "private": false,
- "owner": {
- "name": "Codertocat",
- "email": "21031067+Codertocat@users.noreply.github.com",
- "login": "Codertocat",
+ "action": "resolved",
+ "pull_request": {
+ "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118",
+ "id": 873298238,
+ "node_id": "PR_kwDOEL39TM40DXk-",
+ "html_url": "https://github.com/octo-org/octo-repo/pull/118",
+ "diff_url": "https://github.com/octo-org/octo-repo/pull/118.diff",
+ "patch_url": "https://github.com/octo-org/octo-repo/pull/118.patch",
+ "issue_url": "https://api.github.com/repos/octo-org/octo-repo/issues/118",
+ "number": 118,
+ "state": "open",
+ "locked": false,
+ "title": "Create issue-comment",
+ "user": {
+ "login": "octocat",
"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",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
+ "site_admin": true
+ },
+ "body": "Issue comment test",
+ "created_at": "2022-03-07T16:14:34Z",
+ "updated_at": "2022-03-21T09:21:38Z",
+ "closed_at": null,
+ "merged_at": null,
+ "merge_commit_sha": "c72e2aa60425a50d9785a50793dd6c22b9c5cce1",
+ "assignee": null,
+ "assignees": [],
+ "requested_reviewers": [],
+ "requested_teams": [],
+ "labels": [],
+ "milestone": null,
+ "draft": false,
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/commits",
+ "review_comments_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/comments",
+ "review_comment_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/issues/118/comments",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/14ae1f988d344e6b4f97f6153fb0287dcda335bf",
+ "head": {
+ "label": "octo-org:issue-comment",
+ "ref": "issue-comment",
+ "sha": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
+ "user": {
+ "login": "octo-org",
+ "id": 67584941,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
+ "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 280886604,
+ "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
+ "name": "octo-repo",
+ "full_name": "octo-org/octo-repo",
+ "private": true,
+ "owner": {
+ "login": "octo-org",
+ "id": 67584941,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
+ "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/octo-org/octo-repo",
+ "description": "Change description",
+ "fork": false,
+ "url": "https://api.github.com/repos/octo-org/octo-repo",
+ "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
+ "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
+ "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
+ "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
+ "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
+ "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
+ "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
+ "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
+ "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
+ "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
+ "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
+ "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
+ "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
+ "created_at": "2020-07-19T14:48:35Z",
+ "updated_at": "2022-03-11T11:56:22Z",
+ "pushed_at": "2022-04-01T09:37:36Z",
+ "git_url": "git://github.com/octo-org/octo-repo.git",
+ "ssh_url": "git@github.com:octo-org/octo-repo.git",
+ "clone_url": "https://github.com/octo-org/octo-repo.git",
+ "svn_url": "https://github.com/octo-org/octo-repo",
+ "homepage": "",
+ "size": 646,
+ "stargazers_count": 1,
+ "watchers_count": 1,
+ "language": "Ruby",
+ "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": 60,
+ "license": null,
+ "allow_forking": false,
+ "is_template": false,
+ "topics": [
+ "hey",
+ "topic"
+ ],
+ "visibility": "private",
+ "forks": 0,
+ "open_issues": 60,
+ "watchers": 1,
+ "default_branch": "master"
+ }
+ },
+ "base": {
+ "label": "octo-org:master",
+ "ref": "master",
+ "sha": "fcaaddec44575a657bf81b049208b2ce139da3ca",
+ "user": {
+ "login": "octo-org",
+ "id": 67584941,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
+ "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 280886604,
+ "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
+ "name": "octo-repo",
+ "full_name": "octo-org/octo-repo",
+ "private": true,
+ "owner": {
+ "login": "octo-org",
+ "id": 67584941,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
+ "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/octo-org/octo-repo",
+ "description": "Change description",
+ "fork": false,
+ "url": "https://api.github.com/repos/octo-org/octo-repo",
+ "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
+ "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
+ "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
+ "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
+ "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
+ "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
+ "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
+ "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
+ "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
+ "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
+ "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
+ "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
+ "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
+ "created_at": "2020-07-19T14:48:35Z",
+ "updated_at": "2022-03-11T11:56:22Z",
+ "pushed_at": "2022-04-01T09:37:36Z",
+ "git_url": "git://github.com/octo-org/octo-repo.git",
+ "ssh_url": "git@github.com:octo-org/octo-repo.git",
+ "clone_url": "https://github.com/octo-org/octo-repo.git",
+ "svn_url": "https://github.com/octo-org/octo-repo",
+ "homepage": "",
+ "size": 646,
+ "stargazers_count": 1,
+ "watchers_count": 1,
+ "language": "Ruby",
+ "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": 60,
+ "license": null,
+ "allow_forking": false,
+ "is_template": false,
+ "topics": [
+ "hey",
+ "topic"
+ ],
+ "visibility": "private",
+ "forks": 0,
+ "open_issues": 60,
+ "watchers": 1,
+ "default_branch": "master"
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118"
+ },
+ "html": {
+ "href": "https://github.com/octo-org/octo-repo/pull/118"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/issues/118"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/issues/118/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/statuses/14ae1f988d344e6b4f97f6153fb0287dcda335bf"
+ }
+ },
+ "author_association": "CONTRIBUTOR",
+ "auto_merge": null,
+ "active_lock_reason": null
+ },
+ "thread": {
+ "node_id": "PRRT_kwDOEL39TM4w7XDQ",
+ "comments": [
+ {
+ "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280",
+ "pull_request_review_id": 901921390,
+ "id": 820867280,
+ "node_id": "PRRC_kwDOEL39TM4w7XDQ",
+ "diff_hunk": "@@ -0,0 +1 @@\n+issue comment",
+ "path": "issue-comment",
+ "position": 1,
+ "original_position": 1,
+ "commit_id": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
+ "original_commit_id": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
+ "user": {
+ "login": "jide2020",
+ "id": 64502150,
+ "node_id": "MDQ6VXNlcjY0NTAyMTUw",
+ "avatar_url": "https://avatars.githubusercontent.com/u/64502150?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/jide2020",
+ "html_url": "https://github.com/jide2020",
+ "followers_url": "https://api.github.com/users/jide2020/followers",
+ "following_url": "https://api.github.com/users/jide2020/following{/other_user}",
+ "gists_url": "https://api.github.com/users/jide2020/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/jide2020/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/jide2020/subscriptions",
+ "organizations_url": "https://api.github.com/users/jide2020/orgs",
+ "repos_url": "https://api.github.com/users/jide2020/repos",
+ "events_url": "https://api.github.com/users/jide2020/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/jide2020/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "sup",
+ "created_at": "2022-03-07T16:16:48Z",
+ "updated_at": "2022-03-07T16:16:58Z",
+ "html_url": "https://github.com/octo-org/octo-repo/pull/118#discussion_r820867280",
+ "pull_request_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118",
+ "author_association": "COLLABORATOR",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280"
+ },
+ "html": {
+ "href": "https://github.com/octo-org/octo-repo/pull/118#discussion_r820867280"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118"
+ }
+ },
+ "reactions": {
+ "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280/reactions",
+ "total_count": 0,
+ "+1": 0,
+ "-1": 0,
+ "laugh": 0,
+ "hooray": 0,
+ "confused": 0,
+ "heart": 0,
+ "rocket": 0,
+ "eyes": 0
+ },
+ "start_line": null,
+ "original_start_line": null,
+ "start_side": null,
+ "line": 1,
+ "original_line": 1,
+ "side": "RIGHT"
+ }
+ ]
+ },
+ "repository": {
+ "id": 280886604,
+ "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
+ "name": "octo-repo",
+ "full_name": "octo-org/octo-repo",
+ "private": true,
+ "owner": {
+ "login": "octo-org",
+ "id": 67584941,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
+ "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
"site_admin": false
},
- "html_url": "https://github.com/Codertocat/Hello-World",
- "description": null,
+ "html_url": "https://github.com/octo-org/octo-repo",
+ "description": "Change description",
"fork": false,
- "url": "https://github.com/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": 1557933565,
- "updated_at": "2019-05-15T15:20:41Z",
- "pushed_at": 1557933657,
- "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,
+ "url": "https://api.github.com/repos/octo-org/octo-repo",
+ "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
+ "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
+ "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
+ "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
+ "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
+ "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
+ "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
+ "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
+ "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
+ "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
+ "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
+ "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
+ "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
+ "created_at": "2020-07-19T14:48:35Z",
+ "updated_at": "2022-03-11T11:56:22Z",
+ "pushed_at": "2022-04-01T09:37:36Z",
+ "git_url": "git://github.com/octo-org/octo-repo.git",
+ "ssh_url": "git@github.com:octo-org/octo-repo.git",
+ "clone_url": "https://github.com/octo-org/octo-repo.git",
+ "svn_url": "https://github.com/octo-org/octo-repo",
+ "homepage": "",
+ "size": 646,
+ "stargazers_count": 1,
+ "watchers_count": 1,
"language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
- "has_pages": true,
- "forks_count": 1,
+ "has_pages": false,
+ "forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
- "open_issues_count": 2,
+ "open_issues_count": 60,
"license": null,
- "forks": 1,
- "open_issues": 2,
- "watchers": 0,
- "default_branch": "master",
- "stargazers": 0,
- "master_branch": "master"
+ "allow_forking": false,
+ "is_template": false,
+ "topics": [
+ "hey",
+ "topic"
+ ],
+ "visibility": "private",
+ "forks": 0,
+ "open_issues": 60,
+ "watchers": 1,
+ "default_branch": "master"
},
- "pusher": {
- "name": "Codertocat",
- "email": "21031067+Codertocat@users.noreply.github.com"
+ "organization": {
+ "login": "octo-org",
+ "id": 67584941,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
+ "url": "https://api.github.com/orgs/octo-org",
+ "repos_url": "https://api.github.com/orgs/octo-org/repos",
+ "events_url": "https://api.github.com/orgs/octo-org/events",
+ "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
+ "issues_url": "https://api.github.com/orgs/octo-org/issues",
+ "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
+ "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
+ "description": ""
},
"sender": {
- "login": "Codertocat",
+ "login": "octocat",
"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",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
- "site_admin": false
+ "site_admin": true
}
}
- Activity related to a release. The type of activity is specified in the
- action
property of the payload object. For more
- information, see the "releases" REST API.
-
One or more commits are pushed to a repository branch or tag.
++ Note: You will not receive a webhook for this event + when you push more than three tags at once. +
+ref
string
git ref
+ that was pushed. Example: refs/heads/main
or
+ refs/tags/v3.14.1
.
+ action
before
string
published
: a release, pre-release, or draft of a
- release is published
- unpublished
: a release or pre-release is deleted
- created
: a draft is saved, or a release or
- pre-release is published without previously being saved as a
- draft
- edited
: a release, pre-release, or draft release
- is edited
- deleted
: a release, pre-release, or draft release
- is deleted
- prereleased
: a pre-release is createdreleased
: a release or draft of a release is
- published, or a pre-release is changed to a release
- ref
before the
+ push.
changes[body][from]
after
string
edited
.
+ The SHA of the most recent commit on ref
after the
+ push.
changes[name][from]
created
boolean
ref
.deleted
boolean
ref
.forced
boolean
ref
.head_commit
object
after
is or points to a commit
+ object, an expanded representation of that commit. For pushes
+ where after
refers to an annotated tag object, an
+ expanded representation of the commit pointed to by the annotated
+ tag.
+ compare
string
edited
.
+ URL that shows the changes in this ref
update, from
+ the before
commit to the after
commit.
+ For a newly created ref
that is directly based on the
+ default branch, this is the comparison between the head of the
+ default branch and the after
commit. Otherwise, this
+ shows all commits until the after
commit.
release
commits
array
compare
between the before
commit and
+ the after
commit.)
+ commits[][id]
string
commits[][timestamp]
string
commits[][message]
string
commits[][author]
object
commits[][author][name]
string
commits[][author][email]
string
commits[][url]
url
commits[][distinct]
boolean
commits[][added]
array
commits[][modified]
array
commits[][removed]
array
pusher
object
repository
object
{
- "action": "published",
- "release": {
- "url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790",
- "assets_url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790/assets",
- "upload_url": "https://uploads.github.com/repos/Codertocat/Hello-World/releases/17372790/assets{?name,label}",
- "html_url": "https://github.com/Codertocat/Hello-World/releases/tag/0.0.1",
- "id": 17372790,
- "node_id": "MDc6UmVsZWFzZTE3MzcyNzkw",
- "tag_name": "0.0.1",
- "target_commitish": "master",
- "name": null,
- "draft": false,
+ "ref": "refs/tags/simple-tag",
+ "before": "0000000000000000000000000000000000000000",
+ "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
+ "created": true,
+ "deleted": false,
+ "forced": false,
+ "base_ref": "refs/heads/main",
+ "compare": "https://github.com/Codertocat/Hello-World/compare/simple-tag",
+ "commits": [],
+ "head_commit": {
+ "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
+ "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
+ "distinct": true,
+ "message": "Adding a .gitignore file",
+ "timestamp": "2019-05-15T15:20:41Z",
+ "url": "https://github.com/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246",
"author": {
- "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
+ "name": "Codertocat",
+ "email": "21031067+Codertocat@users.noreply.github.com",
+ "username": "Codertocat"
},
- "prerelease": false,
- "created_at": "2019-05-15T15:19:25Z",
- "published_at": "2019-05-15T15:20:53Z",
- "assets": [],
- "tarball_url": "https://api.github.com/repos/Codertocat/Hello-World/tarball/0.0.1",
- "zipball_url": "https://api.github.com/repos/Codertocat/Hello-World/zipball/0.0.1",
- "body": null
+ "committer": {
+ "name": "Codertocat",
+ "email": "21031067+Codertocat@users.noreply.github.com",
+ "username": "Codertocat"
+ },
+ "added": [
+ ".gitignore"
+ ],
+ "removed": [],
+ "modified": []
},
"repository": {
"id": 186853002,
@@ -15816,6 +16288,8 @@
"full_name": "Codertocat/Hello-World",
"private": false,
"owner": {
+ "name": "Codertocat",
+ "email": "21031067+Codertocat@users.noreply.github.com",
"login": "Codertocat",
"id": 21031067,
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
@@ -15838,7 +16312,7 @@
"html_url": "https://github.com/Codertocat/Hello-World",
"description": null,
"fork": false,
- "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "url": "https://github.com/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}",
@@ -15875,9 +16349,9 @@
"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",
+ "created_at": 1557933565,
"updated_at": "2019-05-15T15:20:41Z",
- "pushed_at": "2019-05-15T15:20:52Z",
+ "pushed_at": 1557933657,
"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",
@@ -15901,7 +16375,13 @@
"forks": 1,
"open_issues": 2,
"watchers": 0,
- "default_branch": "master"
+ "default_branch": "master",
+ "stargazers": 0,
+ "master_branch": "master"
+ },
+ "pusher": {
+ "name": "Codertocat",
+ "email": "21031067+Codertocat@users.noreply.github.com"
},
"sender": {
"login": "Codertocat",
@@ -15926,12 +16406,40 @@
}
+ Activity related to a release. The type of activity is specified in the
+ action
property of the payload object. For more
+ information, see the "releases" REST API.
+
- This event occurs when a GitHub App sends a POST
request to
- the "Create a repository dispatch event" endpoint.
-
contents
permissioncontents
permission to receive
- this webhook.
- Key | +Type | +Description | +
---|---|---|
action |
+ string |
+
+ The action that was performed. Can be one of:
+
|
+
changes[body][from] |
+ string |
+
+ The previous version of the body if the action was
+ edited .
+ |
+
changes[name][from] |
+ string |
+
+ The previous version of the name if the action was
+ edited .
+ |
+
release |
+ object |
+ + The + release + object. + | +
repository |
+ object |
+
+ The
+ repository
+ where the event occurred.
+ |
+
organization |
+ object |
+
+ Webhook payloads contain the
+ organization
+ object when the webhook is configured for an organization or the
+ event occurs from activity in a repository owned by an
+ organization.
+ |
+
installation |
+ object |
+
+ The GitHub App installation. Webhook payloads contain the
+ installation property when the event is configured
+ for and sent to a GitHub App.
+ |
+
sender |
+ object |
+ The user that triggered the event. | +
{
- "action": "on-demand-test",
- "branch": "master",
- "client_payload": {
- "unit": false,
- "integration": true
- },
- "repository": {
- "id": 17273051,
- "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
- "name": "octo-repo",
- "full_name": "octo-org/octo-repo",
- "private": true,
- "owner": {
- "login": "octo-org",
- "id": 6811672,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
- "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
+ "action": "published",
+ "release": {
+ "url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790",
+ "assets_url": "https://api.github.com/repos/Codertocat/Hello-World/releases/17372790/assets",
+ "upload_url": "https://uploads.github.com/repos/Codertocat/Hello-World/releases/17372790/assets{?name,label}",
+ "html_url": "https://github.com/Codertocat/Hello-World/releases/tag/0.0.1",
+ "id": 17372790,
+ "node_id": "MDc6UmVsZWFzZTE3MzcyNzkw",
+ "tag_name": "0.0.1",
+ "target_commitish": "master",
+ "name": null,
+ "draft": false,
+ "author": {
+ "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/octo-org",
- "html_url": "https://github.com/octo-org",
- "followers_url": "https://api.github.com/users/octo-org/followers",
- "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
- "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
- "organizations_url": "https://api.github.com/users/octo-org/orgs",
- "repos_url": "https://api.github.com/users/octo-org/repos",
- "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octo-org/received_events",
- "type": "Organization",
+ "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
},
- "html_url": "https://github.com/octo-org/octo-repo",
- "description": "My first repo on GitHub!",
- "fork": false,
- "url": "https://api.github.com/repos/octo-org/octo-repo",
- "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
- "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
- "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
- "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
- "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
- "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
- "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
- "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
- "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
- "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
- "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
- "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
- "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
- "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
- "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
- "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
- "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
- "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
- "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
- "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
- "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
- "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
- "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
- "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
- "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
- "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
- "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
- "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
- "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
- "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
- "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
- "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
- "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
- "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
- "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
- "created_at": "2014-02-28T02:42:51Z",
- "updated_at": "2018-10-10T15:58:51Z",
- "pushed_at": "2018-10-10T15:58:47Z",
- "git_url": "git://github.com/octo-org/octo-repo.git",
- "ssh_url": "git@github.com:octo-org/octo-repo.git",
- "clone_url": "https://github.com/octo-org/octo-repo.git",
- "svn_url": "https://github.com/octo-org/octo-repo",
- "homepage": "",
- "size": 59,
+ "prerelease": false,
+ "created_at": "2019-05-15T15:19:25Z",
+ "published_at": "2019-05-15T15:20:53Z",
+ "assets": [],
+ "tarball_url": "https://api.github.com/repos/Codertocat/Hello-World/tarball/0.0.1",
+ "zipball_url": "https://api.github.com/repos/Codertocat/Hello-World/zipball/0.0.1",
+ "body": null
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "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
+ },
+ "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:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "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": "JavaScript",
+ "language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
- "has_pages": false,
+ "has_pages": true,
"forks_count": 1,
"mirror_url": null,
"archived": false,
- "open_issues_count": 23,
+ "disabled": false,
+ "open_issues_count": 2,
"license": null,
"forks": 1,
- "open_issues": 23,
+ "open_issues": 2,
"watchers": 0,
"default_branch": "master"
},
- "organization": {
- "login": "octo-org",
- "id": 6811672,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
- "url": "https://api.github.com/orgs/octo-org",
- "repos_url": "https://api.github.com/orgs/octo-org/repos",
- "events_url": "https://api.github.com/orgs/octo-org/events",
- "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
- "issues_url": "https://api.github.com/orgs/octo-org/issues",
- "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
- "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
- "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
- "description": "Working better together!"
- },
"sender": {
"login": "Codertocat",
"id": 21031067,
@@ -16151,48 +16781,16 @@
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"type": "User",
"site_admin": false
- },
- "installation": {
- "id": 375706,
- "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2"
}
}
- Activity related to a repository. The type of activity is specified in
- the action
property of the payload object. For more
- information, see the "repositories" REST API.
-
deleted
- metadata
permission receive all
- event types except deleted
-
+ This event occurs when a GitHub App sends a POST
request to
+ the "Create a repository dispatch event" endpoint.
+
Key | -Type | -Description | -
---|---|---|
action |
- string |
-
- The action that was performed. This can be one of:
-
|
-
repository |
- object |
-
- The
- repository
- where the event occurred.
- |
-
organization |
- object |
-
- Webhook payloads contain the
- organization
- object when the webhook is configured for an organization or the
- event occurs from activity in a repository owned by an
- organization.
- |
-
installation |
- object |
-
- The GitHub App installation. Webhook payloads contain the
- installation property when the event is configured
- for and sent to a GitHub App.
- |
-
sender |
- object |
- The user that triggered the event. | -
contents
permission to receive
+ this webhook.
+ {
- "action": "publicized",
+ "action": "on-demand-test",
+ "branch": "master",
+ "client_payload": {
+ "unit": false,
+ "integration": true
+ },
"repository": {
- "id": 186853002,
- "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
- "name": "Hello-World",
- "full_name": "Codertocat/Hello-World",
- "private": false,
+ "id": 17273051,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
+ "name": "octo-repo",
+ "full_name": "octo-org/octo-repo",
+ "private": true,
"owner": {
- "login": "Codertocat",
- "id": 21031067,
- "node_id": "MDQ6VXNlcjIxMDMxMDY3",
- "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?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",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
"site_admin": false
},
- "html_url": "https://github.com/Codertocat/Hello-World",
- "description": null,
+ "html_url": "https://github.com/octo-org/octo-repo",
+ "description": "My first repo on GitHub!",
"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:21:03Z",
- "pushed_at": "2019-05-15T15:20:57Z",
- "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,
+ "url": "https://api.github.com/repos/octo-org/octo-repo",
+ "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
+ "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
+ "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
+ "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
+ "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
+ "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
+ "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
+ "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
+ "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
+ "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
+ "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
+ "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
+ "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
+ "created_at": "2014-02-28T02:42:51Z",
+ "updated_at": "2018-10-10T15:58:51Z",
+ "pushed_at": "2018-10-10T15:58:47Z",
+ "git_url": "git://github.com/octo-org/octo-repo.git",
+ "ssh_url": "git@github.com:octo-org/octo-repo.git",
+ "clone_url": "https://github.com/octo-org/octo-repo.git",
+ "svn_url": "https://github.com/octo-org/octo-repo",
+ "homepage": "",
+ "size": 59,
"stargazers_count": 0,
"watchers_count": 0,
- "language": "Ruby",
+ "language": "JavaScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
- "has_pages": true,
+ "has_pages": false,
"forks_count": 1,
"mirror_url": null,
"archived": false,
- "disabled": false,
- "open_issues_count": 2,
+ "open_issues_count": 23,
"license": null,
"forks": 1,
- "open_issues": 2,
+ "open_issues": 23,
"watchers": 0,
"default_branch": "master"
},
+ "organization": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "url": "https://api.github.com/orgs/octo-org",
+ "repos_url": "https://api.github.com/orgs/octo-org/repos",
+ "events_url": "https://api.github.com/orgs/octo-org/events",
+ "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
+ "issues_url": "https://api.github.com/orgs/octo-org/issues",
+ "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
+ "description": "Working better together!"
+ },
"sender": {
"login": "Codertocat",
"id": 21031067,
@@ -16462,16 +17010,16 @@
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
"type": "User",
"site_admin": false
+ },
+ "installation": {
+ "id": 375706,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2"
}
}
- Activity related to a repository being imported to GitHub. The type of
- activity is specified in the action
property of the payload
- object. For more information, see the "source imports" REST API. To receive this event for a personal repository, you must
- create an empty repository prior to the import. This event can be
- triggered using either the
- GitHub Importer
- or the
- Source imports API.
+ Activity related to a repository. The type of activity is specified in
+ the action
property of the payload object. For more
+ information, see the "repositories" REST API.
deleted
+ metadata
permission receive all
+ event types except deleted
+ status
action
string
success
, cancelled
, or
- failure
.
+ The action that was performed. This can be one of:
+ created
- A repository is created.deleted
- A repository is deleted.archived
- A repository is archived.unarchived
- A repository is unarchived.edited
- A repository's information is edited.
+ renamed
- A repository is renamed.transferred
- A repository is transferred.publicized
- A repository is made public.privatized
- A repository is made private.installation
object
installation
property when the event is configured
+ for and sent to a GitHub App.
+ sender
object
{
- "status": "success",
+ "action": "publicized",
"repository": {
- "id": 135493233,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
"name": "Hello-World",
"full_name": "Codertocat/Hello-World",
+ "private": false,
"owner": {
"login": "Codertocat",
"id": 21031067,
@@ -16669,7 +17234,6 @@
"type": "User",
"site_admin": false
},
- "private": false,
"html_url": "https://github.com/Codertocat/Hello-World",
"description": null,
"fork": false,
@@ -16710,9 +17274,9 @@
"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": "2018-05-30T20:18:04Z",
- "updated_at": "2018-05-30T20:18:49Z",
- "pushed_at": "2018-05-30T20:18:48Z",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:21:03Z",
+ "pushed_at": "2019-05-15T15:20:57Z",
"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",
@@ -16721,36 +17285,23 @@
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
- "language": null,
+ "language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
- "forks_count": 0,
+ "forks_count": 1,
"mirror_url": null,
"archived": false,
+ "disabled": false,
"open_issues_count": 2,
"license": null,
- "forks": 0,
+ "forks": 1,
"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,
@@ -16774,12 +17325,12 @@
}
- Activity related to security vulnerability alerts in a repository. The
- type of activity is specified in the action
property of the
- payload object. For more information, see the "About alerts for vulnerable dependencies".
+ Activity related to a repository being imported to GitHub. The type of
+ activity is specified in the action
property of the payload
+ object. For more information, see the "source imports" REST API. To receive this event for a personal repository, you must
+ create an empty repository prior to the import. This event can be
+ triggered using either the
+ GitHub Importer
+ or the
+ Source imports API.
action
status
string
create
, dismiss
, or
- resolve
.
+ The final state of the import. This can be one of
+ success
, cancelled
, or
+ failure
.
alert
object
repository
object
{
- "action": "create",
- "alert": {
- "id": 91095730,
- "affected_range": ">= 2.0.4, < 2.0.6",
- "affected_package_name": "rack",
- "fixed_in": "2.0.6",
- "external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-16470",
- "external_identifier": "CVE-2018-16470",
- "severity": "moderate",
- "ghsa_id": "GHSA-hg78-4f6x-99wq",
- "created_at": "2021-03-01T01:23:45Z"
- },
+ "status": "success",
"repository": {
- "id": 186853002,
- "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "id": 135493233,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
"name": "Hello-World",
"full_name": "Codertocat/Hello-World",
- "private": false,
"owner": {
"login": "Codertocat",
"id": 21031067,
@@ -16985,6 +17528,7 @@
"type": "User",
"site_admin": false
},
+ "private": false,
"html_url": "https://github.com/Codertocat/Hello-World",
"description": null,
"fork": false,
@@ -17025,9 +17569,9 @@
"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",
+ "created_at": "2018-05-30T20:18:04Z",
+ "updated_at": "2018-05-30T20:18:49Z",
+ "pushed_at": "2018-05-30T20:18:48Z",
"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",
@@ -17045,7 +17589,6 @@
"forks_count": 0,
"mirror_url": null,
"archived": false,
- "disabled": false,
"open_issues_count": 2,
"license": null,
"forks": 0,
@@ -17053,35 +17596,49 @@
"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": "github",
- "id": 9919,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
- "avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4",
+ "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/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",
+ "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
}
}
- Activity related to secret scanning alerts in a repository. The type of
- activity is specified in the action property of the payload object. For
- more information, see "About secret scanning."
+ Activity related to security vulnerability alerts in a repository. The
+ type of activity is specified in the action
property of the
+ payload object. For more information, see the "About Dependabot alerts".
secret_scanning_alerts:read
permission
- action
string
created
, resolved
, or
- reopened
.
+ The action that was performed. This can be one of
+ create
, dismiss
, or
+ resolve
.
alert
object
repository
installation
object
installation
property when the event is configured
- for and sent to a GitHub App.
- sender
object
action
is resolved
or
- reopened
, the sender
object will be the
- user that triggered the event. The sender
object is
- empty for all other actions.
- {
- "action": "reopened",
+ "action": "create",
"alert": {
- "number": 191,
- "secret_type": "adafruit_io_key",
- "resolution": null,
- "resolved_by": null,
- "resolved_at": null
+ "id": 91095730,
+ "affected_range": ">= 2.0.4, < 2.0.6",
+ "affected_package_name": "rack",
+ "fixed_in": "2.0.6",
+ "external_reference": "https://nvd.nist.gov/vuln/detail/CVE-2018-16470",
+ "external_identifier": "CVE-2018-16470",
+ "severity": "moderate",
+ "ghsa_id": "GHSA-hg78-4f6x-99wq",
+ "created_at": "2021-03-01T01:23:45Z"
},
"repository": {
- "id": 257423561,
- "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=",
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
"name": "Hello-World",
"full_name": "Codertocat/Hello-World",
- "private": true,
+ "private": false,
"owner": {
"login": "Codertocat",
- "id": 30846345,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
- "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
+ "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",
@@ -17298,7 +17841,7 @@
"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": "Organization",
+ "type": "User",
"site_admin": false
},
"html_url": "https://github.com/Codertocat/Hello-World",
@@ -17341,67 +17884,53 @@
"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": "2020-04-20T22:59:11Z",
- "updated_at": "2020-11-24T01:37:33Z",
- "pushed_at": "2020-11-24T01:37:31Z",
+ "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": 1156,
+ "size": 0,
"stargazers_count": 0,
"watchers_count": 0,
- "language": "JavaScript",
- "has_issues": false,
- "has_projects": false,
+ "language": null,
+ "has_issues": true,
+ "has_projects": true,
"has_downloads": true,
- "has_wiki": false,
+ "has_wiki": true,
"has_pages": true,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
- "open_issues_count": 3,
+ "open_issues_count": 2,
"license": null,
"forks": 0,
- "open_issues": 3,
+ "open_issues": 2,
"watchers": 0,
"default_branch": "master"
},
- "organization": {
- "login": "Codertocat",
- "id": 30846345,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
- "url": "https://api.github.com/orgs/Codertocat",
- "repos_url": "https://api.github.com/orgs/Codertocat/repos",
- "events_url": "https://api.github.com/orgs/Codertocat/events",
- "hooks_url": "https://api.github.com/orgs/Codertocat/hooks",
- "issues_url": "https://api.github.com/orgs/Codertocat/issues",
- "members_url": "https://api.github.com/orgs/Codertocat/members{/member}",
- "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}",
- "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
- "description": "Demos and testing of GitHub security products"
- },
"sender": {
- "login": "Codertocat",
- "id": 10136561,
- "node_id": "MDQ6VXNlcjEwMTM2NTYx",
- "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4",
+ "login": "github",
+ "id": 9919,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/9919?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": true
+ "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",
+ "site_admin": false
}
}
@@ -17441,7 +17970,7 @@