Skip to content

pull_request_review_thread types are missing #593

Closed

Description

@n-sviridenko

Here's what we hacked, please add it to the repo. Thanks!

// not implemented yet
// import { PullRequestReviewThreadResolvedEvent } from '@octokit/webhooks-types';
import { SimplePullRequest, Repository, Organization, User, PullRequestReviewComment } from '@octokit/webhooks-types';

export interface Thread {
  node_id: string;
  comments: PullRequestReviewComment[];
}

export interface PullRequestReviewThreadResolvedEvent {
  action: "resolved",
  pull_request: SimplePullRequest;
  thread: Thread;
  repository: Repository;
  organization: Organization;
  sender: User;
}

export interface PullRequestReviewThreadUnresolvedEvent {
  action: "unresolved",
  pull_request: SimplePullRequest;
  thread: Thread;
  repository: Repository;
  organization: Organization;
  sender: User;
}

Activity

  1. wolfy1339 commented on Nov 23, 2021

    @wolfy1339
    Member

    Can you comment with an example payload and the version of @octokit/webhooks-types you are using.

  2. n-sviridenko commented on Nov 23, 2021

    @n-sviridenko
    Author

    The types version is the latest.

    The unsersolved one is same except the action:

    {
      "action": "resolved",
      "pull_request": {
        "url": "https://api.github.com/repos/voypost/website-v2/pulls/85",
        "id": 715125700,
        "node_id": "MDExOlB1bGxSZXF1ZXN0NzE1MTI1NzAw",
        "html_url": "https://github.com/voypost/website-v2/pull/85",
        "diff_url": "https://github.com/voypost/website-v2/pull/85.diff",
        "patch_url": "https://github.com/voypost/website-v2/pull/85.patch",
        "issue_url": "https://api.github.com/repos/voypost/website-v2/issues/85",
        "number": 85,
        "state": "open",
        "locked": false,
        "title": "data retrieval and creation basic list component",
        "user": {
          "login": "b-shevchenko",
          "id": 82581242,
          "node_id": "MDQ6VXNlcjgyNTgxMjQy",
          "avatar_url": "https://avatars.githubusercontent.com/u/82581242?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/b-shevchenko",
          "html_url": "https://github.com/b-shevchenko",
          "followers_url": "https://api.github.com/users/b-shevchenko/followers",
          "following_url": "https://api.github.com/users/b-shevchenko/following{/other_user}",
          "gists_url": "https://api.github.com/users/b-shevchenko/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/b-shevchenko/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/b-shevchenko/subscriptions",
          "organizations_url": "https://api.github.com/users/b-shevchenko/orgs",
          "repos_url": "https://api.github.com/users/b-shevchenko/repos",
          "events_url": "https://api.github.com/users/b-shevchenko/events{/privacy}",
          "received_events_url": "https://api.github.com/users/b-shevchenko/received_events",
          "type": "User",
          "site_admin": false
        },
        "body": null,
        "created_at": "2021-08-18T14:18:50Z",
        "updated_at": "2021-11-20T12:08:16Z",
        "closed_at": null,
        "merged_at": null,
        "merge_commit_sha": "7a023a4f16d95bf7b58e1094d28596dd460dc0b6",
        "assignee": null,
        "assignees": [],
        "requested_reviewers": [],
        "requested_teams": [],
        "labels": [],
        "milestone": null,
        "draft": false,
        "commits_url": "https://api.github.com/repos/voypost/website-v2/pulls/85/commits",
        "review_comments_url": "https://api.github.com/repos/voypost/website-v2/pulls/85/comments",
        "review_comment_url": "https://api.github.com/repos/voypost/website-v2/pulls/comments{/number}",
        "comments_url": "https://api.github.com/repos/voypost/website-v2/issues/85/comments",
        "statuses_url": "https://api.github.com/repos/voypost/website-v2/statuses/e8b3688e5a3c508d5ece4e6e54f9eda42d229148",
        "head": {
          "label": "voypost:SectionTypeA-We-Can-Help",
          "ref": "SectionTypeA-We-Can-Help",
          "sha": "e8b3688e5a3c508d5ece4e6e54f9eda42d229148",
          "user": {
            "login": "voypost",
            "id": 33024474,
            "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMDI0NDc0",
            "avatar_url": "https://avatars.githubusercontent.com/u/33024474?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/voypost",
            "html_url": "https://github.com/voypost",
            "followers_url": "https://api.github.com/users/voypost/followers",
            "following_url": "https://api.github.com/users/voypost/following{/other_user}",
            "gists_url": "https://api.github.com/users/voypost/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/voypost/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/voypost/subscriptions",
            "organizations_url": "https://api.github.com/users/voypost/orgs",
            "repos_url": "https://api.github.com/users/voypost/repos",
            "events_url": "https://api.github.com/users/voypost/events{/privacy}",
            "received_events_url": "https://api.github.com/users/voypost/received_events",
            "type": "Organization",
            "site_admin": false
          },
          "repo": {
            "id": 386218248,
            "node_id": "MDEwOlJlcG9zaXRvcnkzODYyMTgyNDg=",
            "name": "website-v2",
            "full_name": "voypost/website-v2",
            "private": true,
            "owner": {
              "login": "voypost",
              "id": 33024474,
              "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMDI0NDc0",
              "avatar_url": "https://avatars.githubusercontent.com/u/33024474?v=4",
              "gravatar_id": "",
              "url": "https://api.github.com/users/voypost",
              "html_url": "https://github.com/voypost",
              "followers_url": "https://api.github.com/users/voypost/followers",
              "following_url": "https://api.github.com/users/voypost/following{/other_user}",
              "gists_url": "https://api.github.com/users/voypost/gists{/gist_id}",
              "starred_url": "https://api.github.com/users/voypost/starred{/owner}{/repo}",
              "subscriptions_url": "https://api.github.com/users/voypost/subscriptions",
              "organizations_url": "https://api.github.com/users/voypost/orgs",
              "repos_url": "https://api.github.com/users/voypost/repos",
              "events_url": "https://api.github.com/users/voypost/events{/privacy}",
              "received_events_url": "https://api.github.com/users/voypost/received_events",
              "type": "Organization",
              "site_admin": false
            },
            "html_url": "https://github.com/voypost/website-v2",
            "description": null,
            "fork": false,
            "url": "https://api.github.com/repos/voypost/website-v2",
            "forks_url": "https://api.github.com/repos/voypost/website-v2/forks",
            "keys_url": "https://api.github.com/repos/voypost/website-v2/keys{/key_id}",
            "collaborators_url": "https://api.github.com/repos/voypost/website-v2/collaborators{/collaborator}",
            "teams_url": "https://api.github.com/repos/voypost/website-v2/teams",
            "hooks_url": "https://api.github.com/repos/voypost/website-v2/hooks",
            "issue_events_url": "https://api.github.com/repos/voypost/website-v2/issues/events{/number}",
            "events_url": "https://api.github.com/repos/voypost/website-v2/events",
            "assignees_url": "https://api.github.com/repos/voypost/website-v2/assignees{/user}",
            "branches_url": "https://api.github.com/repos/voypost/website-v2/branches{/branch}",
            "tags_url": "https://api.github.com/repos/voypost/website-v2/tags",
            "blobs_url": "https://api.github.com/repos/voypost/website-v2/git/blobs{/sha}",
            "git_tags_url": "https://api.github.com/repos/voypost/website-v2/git/tags{/sha}",
            "git_refs_url": "https://api.github.com/repos/voypost/website-v2/git/refs{/sha}",
            "trees_url": "https://api.github.com/repos/voypost/website-v2/git/trees{/sha}",
            "statuses_url": "https://api.github.com/repos/voypost/website-v2/statuses/{sha}",
            "languages_url": "https://api.github.com/repos/voypost/website-v2/languages",
            "stargazers_url": "https://api.github.com/repos/voypost/website-v2/stargazers",
            "contributors_url": "https://api.github.com/repos/voypost/website-v2/contributors",
            "subscribers_url": "https://api.github.com/repos/voypost/website-v2/subscribers",
            "subscription_url": "https://api.github.com/repos/voypost/website-v2/subscription",
            "commits_url": "https://api.github.com/repos/voypost/website-v2/commits{/sha}",
            "git_commits_url": "https://api.github.com/repos/voypost/website-v2/git/commits{/sha}",
            "comments_url": "https://api.github.com/repos/voypost/website-v2/comments{/number}",
            "issue_comment_url": "https://api.github.com/repos/voypost/website-v2/issues/comments{/number}",
            "contents_url": "https://api.github.com/repos/voypost/website-v2/contents/{+path}",
            "compare_url": "https://api.github.com/repos/voypost/website-v2/compare/{base}...{head}",
            "merges_url": "https://api.github.com/repos/voypost/website-v2/merges",
            "archive_url": "https://api.github.com/repos/voypost/website-v2/{archive_format}{/ref}",
            "downloads_url": "https://api.github.com/repos/voypost/website-v2/downloads",
            "issues_url": "https://api.github.com/repos/voypost/website-v2/issues{/number}",
            "pulls_url": "https://api.github.com/repos/voypost/website-v2/pulls{/number}",
            "milestones_url": "https://api.github.com/repos/voypost/website-v2/milestones{/number}",
            "notifications_url": "https://api.github.com/repos/voypost/website-v2/notifications{?since,all,participating}",
            "labels_url": "https://api.github.com/repos/voypost/website-v2/labels{/name}",
            "releases_url": "https://api.github.com/repos/voypost/website-v2/releases{/id}",
            "deployments_url": "https://api.github.com/repos/voypost/website-v2/deployments",
            "created_at": "2021-07-15T08:26:08Z",
            "updated_at": "2021-11-19T11:12:31Z",
            "pushed_at": "2021-11-19T11:12:29Z",
            "git_url": "git://github.com/voypost/website-v2.git",
            "ssh_url": "[email protected]:voypost/website-v2.git",
            "clone_url": "https://github.com/voypost/website-v2.git",
            "svn_url": "https://github.com/voypost/website-v2",
            "homepage": "website-v2-mauve.vercel.app",
            "size": 6947,
            "stargazers_count": 0,
            "watchers_count": 0,
            "language": "TypeScript",
            "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": 14,
            "license": null,
            "allow_forking": false,
            "is_template": false,
            "topics": [],
            "visibility": "private",
            "forks": 0,
            "open_issues": 14,
            "watchers": 0,
            "default_branch": "main"
          }
        },
        "base": {
          "label": "voypost:main",
          "ref": "main",
          "sha": "fcac57e7123eccf37565ee3d9fc036abc6d293e2",
          "user": {
            "login": "voypost",
            "id": 33024474,
            "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMDI0NDc0",
            "avatar_url": "https://avatars.githubusercontent.com/u/33024474?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/voypost",
            "html_url": "https://github.com/voypost",
            "followers_url": "https://api.github.com/users/voypost/followers",
            "following_url": "https://api.github.com/users/voypost/following{/other_user}",
            "gists_url": "https://api.github.com/users/voypost/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/voypost/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/voypost/subscriptions",
            "organizations_url": "https://api.github.com/users/voypost/orgs",
            "repos_url": "https://api.github.com/users/voypost/repos",
            "events_url": "https://api.github.com/users/voypost/events{/privacy}",
            "received_events_url": "https://api.github.com/users/voypost/received_events",
            "type": "Organization",
            "site_admin": false
          },
          "repo": {
            "id": 386218248,
            "node_id": "MDEwOlJlcG9zaXRvcnkzODYyMTgyNDg=",
            "name": "website-v2",
            "full_name": "voypost/website-v2",
            "private": true,
            "owner": {
              "login": "voypost",
              "id": 33024474,
              "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMDI0NDc0",
              "avatar_url": "https://avatars.githubusercontent.com/u/33024474?v=4",
              "gravatar_id": "",
              "url": "https://api.github.com/users/voypost",
              "html_url": "https://github.com/voypost",
              "followers_url": "https://api.github.com/users/voypost/followers",
              "following_url": "https://api.github.com/users/voypost/following{/other_user}",
              "gists_url": "https://api.github.com/users/voypost/gists{/gist_id}",
              "starred_url": "https://api.github.com/users/voypost/starred{/owner}{/repo}",
              "subscriptions_url": "https://api.github.com/users/voypost/subscriptions",
              "organizations_url": "https://api.github.com/users/voypost/orgs",
              "repos_url": "https://api.github.com/users/voypost/repos",
              "events_url": "https://api.github.com/users/voypost/events{/privacy}",
              "received_events_url": "https://api.github.com/users/voypost/received_events",
              "type": "Organization",
              "site_admin": false
            },
            "html_url": "https://github.com/voypost/website-v2",
            "description": null,
            "fork": false,
            "url": "https://api.github.com/repos/voypost/website-v2",
            "forks_url": "https://api.github.com/repos/voypost/website-v2/forks",
            "keys_url": "https://api.github.com/repos/voypost/website-v2/keys{/key_id}",
            "collaborators_url": "https://api.github.com/repos/voypost/website-v2/collaborators{/collaborator}",
            "teams_url": "https://api.github.com/repos/voypost/website-v2/teams",
            "hooks_url": "https://api.github.com/repos/voypost/website-v2/hooks",
            "issue_events_url": "https://api.github.com/repos/voypost/website-v2/issues/events{/number}",
            "events_url": "https://api.github.com/repos/voypost/website-v2/events",
            "assignees_url": "https://api.github.com/repos/voypost/website-v2/assignees{/user}",
            "branches_url": "https://api.github.com/repos/voypost/website-v2/branches{/branch}",
            "tags_url": "https://api.github.com/repos/voypost/website-v2/tags",
            "blobs_url": "https://api.github.com/repos/voypost/website-v2/git/blobs{/sha}",
            "git_tags_url": "https://api.github.com/repos/voypost/website-v2/git/tags{/sha}",
            "git_refs_url": "https://api.github.com/repos/voypost/website-v2/git/refs{/sha}",
            "trees_url": "https://api.github.com/repos/voypost/website-v2/git/trees{/sha}",
            "statuses_url": "https://api.github.com/repos/voypost/website-v2/statuses/{sha}",
            "languages_url": "https://api.github.com/repos/voypost/website-v2/languages",
            "stargazers_url": "https://api.github.com/repos/voypost/website-v2/stargazers",
            "contributors_url": "https://api.github.com/repos/voypost/website-v2/contributors",
            "subscribers_url": "https://api.github.com/repos/voypost/website-v2/subscribers",
            "subscription_url": "https://api.github.com/repos/voypost/website-v2/subscription",
            "commits_url": "https://api.github.com/repos/voypost/website-v2/commits{/sha}",
            "git_commits_url": "https://api.github.com/repos/voypost/website-v2/git/commits{/sha}",
            "comments_url": "https://api.github.com/repos/voypost/website-v2/comments{/number}",
            "issue_comment_url": "https://api.github.com/repos/voypost/website-v2/issues/comments{/number}",
            "contents_url": "https://api.github.com/repos/voypost/website-v2/contents/{+path}",
            "compare_url": "https://api.github.com/repos/voypost/website-v2/compare/{base}...{head}",
            "merges_url": "https://api.github.com/repos/voypost/website-v2/merges",
            "archive_url": "https://api.github.com/repos/voypost/website-v2/{archive_format}{/ref}",
            "downloads_url": "https://api.github.com/repos/voypost/website-v2/downloads",
            "issues_url": "https://api.github.com/repos/voypost/website-v2/issues{/number}",
            "pulls_url": "https://api.github.com/repos/voypost/website-v2/pulls{/number}",
            "milestones_url": "https://api.github.com/repos/voypost/website-v2/milestones{/number}",
            "notifications_url": "https://api.github.com/repos/voypost/website-v2/notifications{?since,all,participating}",
            "labels_url": "https://api.github.com/repos/voypost/website-v2/labels{/name}",
            "releases_url": "https://api.github.com/repos/voypost/website-v2/releases{/id}",
            "deployments_url": "https://api.github.com/repos/voypost/website-v2/deployments",
            "created_at": "2021-07-15T08:26:08Z",
            "updated_at": "2021-11-19T11:12:31Z",
            "pushed_at": "2021-11-19T11:12:29Z",
            "git_url": "git://github.com/voypost/website-v2.git",
            "ssh_url": "[email protected]:voypost/website-v2.git",
            "clone_url": "https://github.com/voypost/website-v2.git",
            "svn_url": "https://github.com/voypost/website-v2",
            "homepage": "website-v2-mauve.vercel.app",
            "size": 6947,
            "stargazers_count": 0,
            "watchers_count": 0,
            "language": "TypeScript",
            "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": 14,
            "license": null,
            "allow_forking": false,
            "is_template": false,
            "topics": [],
            "visibility": "private",
            "forks": 0,
            "open_issues": 14,
            "watchers": 0,
            "default_branch": "main"
          }
        },
        "_links": {
          "self": {
            "href": "https://api.github.com/repos/voypost/website-v2/pulls/85"
          },
          "html": {
            "href": "https://github.com/voypost/website-v2/pull/85"
          },
          "issue": {
            "href": "https://api.github.com/repos/voypost/website-v2/issues/85"
          },
          "comments": {
            "href": "https://api.github.com/repos/voypost/website-v2/issues/85/comments"
          },
          "review_comments": {
            "href": "https://api.github.com/repos/voypost/website-v2/pulls/85/comments"
          },
          "review_comment": {
            "href": "https://api.github.com/repos/voypost/website-v2/pulls/comments{/number}"
          },
          "commits": {
            "href": "https://api.github.com/repos/voypost/website-v2/pulls/85/commits"
          },
          "statuses": {
            "href": "https://api.github.com/repos/voypost/website-v2/statuses/e8b3688e5a3c508d5ece4e6e54f9eda42d229148"
          }
        },
        "author_association": "CONTRIBUTOR",
        "auto_merge": null,
        "active_lock_reason": null
      },
      "thread": {
        "node_id": "PRRT_kwDOFwU5CM4s7BEx",
        "comments": [
          {
            "url": "https://api.github.com/repos/voypost/website-v2/pulls/comments/753668401",
            "pull_request_review_id": 811824588,
            "id": 753668401,
            "node_id": "PRRC_kwDOFwU5CM4s7BEx",
            "diff_hunk": "@@ -18,6 +20,8 @@ export default function renderSectionChildren(\n if (children?.__typename === 'Review_list_component') {\n return <ReviewList {...mapReviewListDataToProps(children)} />;\n }\n-\n+ if (children?.__typename === 'Service_list_component') {\n+ return <OurServiceList {...mapOurServiceListDataToProps(children)} />;",
            "path": "common/renderSectionChildren.tsx",
            "position": 15,
            "original_position": 15,
            "commit_id": "e8b3688e5a3c508d5ece4e6e54f9eda42d229148",
            "original_commit_id": "e8b3688e5a3c508d5ece4e6e54f9eda42d229148",
            "user": {
              "login": "n-sviridenko",
              "id": 9335422,
              "node_id": "MDQ6VXNlcjkzMzU0MjI=",
              "avatar_url": "https://avatars.githubusercontent.com/u/9335422?v=4",
              "gravatar_id": "",
              "url": "https://api.github.com/users/n-sviridenko",
              "html_url": "https://github.com/n-sviridenko",
              "followers_url": "https://api.github.com/users/n-sviridenko/followers",
              "following_url": "https://api.github.com/users/n-sviridenko/following{/other_user}",
              "gists_url": "https://api.github.com/users/n-sviridenko/gists{/gist_id}",
              "starred_url": "https://api.github.com/users/n-sviridenko/starred{/owner}{/repo}",
              "subscriptions_url": "https://api.github.com/users/n-sviridenko/subscriptions",
              "organizations_url": "https://api.github.com/users/n-sviridenko/orgs",
              "repos_url": "https://api.github.com/users/n-sviridenko/repos",
              "events_url": "https://api.github.com/users/n-sviridenko/events{/privacy}",
              "received_events_url": "https://api.github.com/users/n-sviridenko/received_events",
              "type": "User",
              "site_admin": false
            },
            "body": "Second comment",
            "created_at": "2021-11-20T12:03:58Z",
            "updated_at": "2021-11-20T12:08:16Z",
            "html_url": "https://github.com/voypost/website-v2/pull/85#discussion_r753668401",
            "pull_request_url": "https://api.github.com/repos/voypost/website-v2/pulls/85",
            "author_association": "CONTRIBUTOR",
            "_links": {
              "self": {
                "href": "https://api.github.com/repos/voypost/website-v2/pulls/comments/753668401"
              },
              "html": {
                "href": "https://github.com/voypost/website-v2/pull/85#discussion_r753668401"
              },
              "pull_request": {
                "href": "https://api.github.com/repos/voypost/website-v2/pulls/85"
              }
            },
            "reactions": {
              "url": "https://api.github.com/repos/voypost/website-v2/pulls/comments/753668401/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": 24,
            "original_line": 24,
            "side": "RIGHT"
          }
        ]
      },
      "repository": {
        "id": 386218248,
        "node_id": "MDEwOlJlcG9zaXRvcnkzODYyMTgyNDg=",
        "name": "website-v2",
        "full_name": "voypost/website-v2",
        "private": true,
        "owner": {
          "login": "voypost",
          "id": 33024474,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMDI0NDc0",
          "avatar_url": "https://avatars.githubusercontent.com/u/33024474?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/voypost",
          "html_url": "https://github.com/voypost",
          "followers_url": "https://api.github.com/users/voypost/followers",
          "following_url": "https://api.github.com/users/voypost/following{/other_user}",
          "gists_url": "https://api.github.com/users/voypost/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/voypost/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/voypost/subscriptions",
          "organizations_url": "https://api.github.com/users/voypost/orgs",
          "repos_url": "https://api.github.com/users/voypost/repos",
          "events_url": "https://api.github.com/users/voypost/events{/privacy}",
          "received_events_url": "https://api.github.com/users/voypost/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/voypost/website-v2",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/voypost/website-v2",
        "forks_url": "https://api.github.com/repos/voypost/website-v2/forks",
        "keys_url": "https://api.github.com/repos/voypost/website-v2/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/voypost/website-v2/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/voypost/website-v2/teams",
        "hooks_url": "https://api.github.com/repos/voypost/website-v2/hooks",
        "issue_events_url": "https://api.github.com/repos/voypost/website-v2/issues/events{/number}",
        "events_url": "https://api.github.com/repos/voypost/website-v2/events",
        "assignees_url": "https://api.github.com/repos/voypost/website-v2/assignees{/user}",
        "branches_url": "https://api.github.com/repos/voypost/website-v2/branches{/branch}",
        "tags_url": "https://api.github.com/repos/voypost/website-v2/tags",
        "blobs_url": "https://api.github.com/repos/voypost/website-v2/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/voypost/website-v2/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/voypost/website-v2/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/voypost/website-v2/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/voypost/website-v2/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/voypost/website-v2/languages",
        "stargazers_url": "https://api.github.com/repos/voypost/website-v2/stargazers",
        "contributors_url": "https://api.github.com/repos/voypost/website-v2/contributors",
        "subscribers_url": "https://api.github.com/repos/voypost/website-v2/subscribers",
        "subscription_url": "https://api.github.com/repos/voypost/website-v2/subscription",
        "commits_url": "https://api.github.com/repos/voypost/website-v2/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/voypost/website-v2/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/voypost/website-v2/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/voypost/website-v2/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/voypost/website-v2/contents/{+path}",
        "compare_url": "https://api.github.com/repos/voypost/website-v2/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/voypost/website-v2/merges",
        "archive_url": "https://api.github.com/repos/voypost/website-v2/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/voypost/website-v2/downloads",
        "issues_url": "https://api.github.com/repos/voypost/website-v2/issues{/number}",
        "pulls_url": "https://api.github.com/repos/voypost/website-v2/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/voypost/website-v2/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/voypost/website-v2/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/voypost/website-v2/labels{/name}",
        "releases_url": "https://api.github.com/repos/voypost/website-v2/releases{/id}",
        "deployments_url": "https://api.github.com/repos/voypost/website-v2/deployments",
        "created_at": "2021-07-15T08:26:08Z",
        "updated_at": "2021-11-19T11:12:31Z",
        "pushed_at": "2021-11-19T11:12:29Z",
        "git_url": "git://github.com/voypost/website-v2.git",
        "ssh_url": "[email protected]:voypost/website-v2.git",
        "clone_url": "https://github.com/voypost/website-v2.git",
        "svn_url": "https://github.com/voypost/website-v2",
        "homepage": "website-v2-mauve.vercel.app",
        "size": 6947,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "TypeScript",
        "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": 14,
        "license": null,
        "allow_forking": false,
        "is_template": false,
        "topics": [],
        "visibility": "private",
        "forks": 0,
        "open_issues": 14,
        "watchers": 0,
        "default_branch": "main"
      },
      "organization": {
        "login": "voypost",
        "id": 33024474,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzMDI0NDc0",
        "url": "https://api.github.com/orgs/voypost",
        "repos_url": "https://api.github.com/orgs/voypost/repos",
        "events_url": "https://api.github.com/orgs/voypost/events",
        "hooks_url": "https://api.github.com/orgs/voypost/hooks",
        "issues_url": "https://api.github.com/orgs/voypost/issues",
        "members_url": "https://api.github.com/orgs/voypost/members{/member}",
        "public_members_url": "https://api.github.com/orgs/voypost/public_members{/member}",
        "avatar_url": "https://avatars.githubusercontent.com/u/33024474?v=4",
        "description": "Validate your idea. Fast. No hassle. 🚀 Building digital products (MVPs) for startups."
      },
      "sender": {
        "login": "n-sviridenko",
        "id": 9335422,
        "node_id": "MDQ6VXNlcjkzMzU0MjI=",
        "avatar_url": "https://avatars.githubusercontent.com/u/9335422?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/n-sviridenko",
        "html_url": "https://github.com/n-sviridenko",
        "followers_url": "https://api.github.com/users/n-sviridenko/followers",
        "following_url": "https://api.github.com/users/n-sviridenko/following{/other_user}",
        "gists_url": "https://api.github.com/users/n-sviridenko/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/n-sviridenko/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/n-sviridenko/subscriptions",
        "organizations_url": "https://api.github.com/users/n-sviridenko/orgs",
        "repos_url": "https://api.github.com/users/n-sviridenko/repos",
        "events_url": "https://api.github.com/users/n-sviridenko/events{/privacy}",
        "received_events_url": "https://api.github.com/users/n-sviridenko/received_events",
        "type": "User",
        "site_admin": false
      }
    }
  3. wolfy1339 commented on Nov 23, 2021

    @wolfy1339
    Member

    Thanks! I will take a look to add these in.

  4. wolfy1339 commented on Nov 23, 2021

    @wolfy1339
    Member

    One issue is that this event isn't documented on the GitHub docs for webhooks yet.

  5. octokitbot commented on Nov 23, 2021

    @octokitbot
    Contributor

    🎉 This issue has been resolved in version 4.17.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documented

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions