kaiyuanshe / osschat

Apache Open Source Software Chat BOT
https://oss.chat/dashboard/
Apache License 2.0
184 stars 45 forks source link

Enable forwarding information of PR #50

Open qiaojialin opened 4 years ago

qiaojialin commented 4 years ago

Hi, I would like to see the comments and review information of PRs in WeChat.

huan commented 4 years ago

That's a great feature request!

I have just reviewed our ossbot settings in the GitHub Apps and adjusted them to be able to get all the Pull Request information that we need:

image


image

So what we need to is support those events in our code base.

See: Event Types & Payloads - https://developer.github.com/v3/activity/events/types/#pullrequestevent

huan commented 4 years ago

X-GitHub-Event: pull_request_review

{
  "action": "submitted",
  "review": {
    "id": 370838589,
    "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3MzcwODM4NTg5",
    "user": {
      "login": "huan",
      "id": 1361891,
      "node_id": "MDQ6VXNlcjEzNjE4OTE=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/1361891?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/huan",
      "html_url": "https://github.com/huan",
      "followers_url": "https://api.github.com/users/huan/followers",
      "following_url": "https://api.github.com/users/huan/following{/other_user}",
      "gists_url": "https://api.github.com/users/huan/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/huan/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/huan/subscriptions",
      "organizations_url": "https://api.github.com/users/huan/orgs",
      "repos_url": "https://api.github.com/users/huan/repos",
      "events_url": "https://api.github.com/users/huan/events{/privacy}",
      "received_events_url": "https://api.github.com/users/huan/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "Great to see your talk topic for the following BOT5 Club!\r\n\r\nPlease fix your profile page as you mentioned in the PR at <https://bot5.club/people/chaosconst> before we can merge it, thank you very much!",
    "commit_id": "83e57ae443c90c2381b8729cb634487c0b90260b",
    "submitted_at": "2020-03-08T15:30:42Z",
    "state": "changes_requested",
    "html_url": "https://github.com/wechaty/bot5.club/pull/148#pullrequestreview-370838589",
    "pull_request_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148",
    "author_association": "MEMBER",
    "_links": {
      "html": {
        "href": "https://github.com/wechaty/bot5.club/pull/148#pullrequestreview-370838589"
      },
      "pull_request": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148"
      }
    }
  },
  "pull_request": {
    "url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148",
    "id": 385279202,
    "node_id": "MDExOlB1bGxSZXF1ZXN0Mzg1Mjc5MjAy",
    "html_url": "https://github.com/wechaty/bot5.club/pull/148",
    "diff_url": "https://github.com/wechaty/bot5.club/pull/148.diff",
    "patch_url": "https://github.com/wechaty/bot5.club/pull/148.patch",
    "issue_url": "https://api.github.com/repos/wechaty/bot5.club/issues/148",
    "number": 148,
    "state": "open",
    "locked": false,
    "title": "增加分享内容",
    "user": {
      "login": "chaosconst",
      "id": 299962,
      "node_id": "MDQ6VXNlcjI5OTk2Mg==",
      "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/chaosconst",
      "html_url": "https://github.com/chaosconst",
      "followers_url": "https://api.github.com/users/chaosconst/followers",
      "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
      "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
      "organizations_url": "https://api.github.com/users/chaosconst/orgs",
      "repos_url": "https://api.github.com/users/chaosconst/repos",
      "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
      "received_events_url": "https://api.github.com/users/chaosconst/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "NLP 游戏相关的一次讲座",
    "created_at": "2020-03-08T15:26:39Z",
    "updated_at": "2020-03-08T15:30:42Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "5e10ab128793f6a3412311bc6a1cc8216446e800",
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/commits",
    "review_comments_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/comments",
    "review_comment_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/wechaty/bot5.club/issues/148/comments",
    "statuses_url": "https://api.github.com/repos/wechaty/bot5.club/statuses/83e57ae443c90c2381b8729cb634487c0b90260b",
    "head": {
      "label": "chaosconst:patch-1",
      "ref": "patch-1",
      "sha": "83e57ae443c90c2381b8729cb634487c0b90260b",
      "user": {
        "login": "chaosconst",
        "id": 299962,
        "node_id": "MDQ6VXNlcjI5OTk2Mg==",
        "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/chaosconst",
        "html_url": "https://github.com/chaosconst",
        "followers_url": "https://api.github.com/users/chaosconst/followers",
        "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
        "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
        "organizations_url": "https://api.github.com/users/chaosconst/orgs",
        "repos_url": "https://api.github.com/users/chaosconst/repos",
        "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
        "received_events_url": "https://api.github.com/users/chaosconst/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 233605459,
        "node_id": "MDEwOlJlcG9zaXRvcnkyMzM2MDU0NTk=",
        "name": "bot5.club",
        "full_name": "chaosconst/bot5.club",
        "private": false,
        "owner": {
          "login": "chaosconst",
          "id": 299962,
          "node_id": "MDQ6VXNlcjI5OTk2Mg==",
          "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/chaosconst",
          "html_url": "https://github.com/chaosconst",
          "followers_url": "https://api.github.com/users/chaosconst/followers",
          "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
          "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
          "organizations_url": "https://api.github.com/users/chaosconst/orgs",
          "repos_url": "https://api.github.com/users/chaosconst/repos",
          "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
          "received_events_url": "https://api.github.com/users/chaosconst/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/chaosconst/bot5.club",
        "description": "Bot Friday Club - BOT5",
        "fork": true,
        "url": "https://api.github.com/repos/chaosconst/bot5.club",
        "forks_url": "https://api.github.com/repos/chaosconst/bot5.club/forks",
        "keys_url": "https://api.github.com/repos/chaosconst/bot5.club/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/chaosconst/bot5.club/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/chaosconst/bot5.club/teams",
        "hooks_url": "https://api.github.com/repos/chaosconst/bot5.club/hooks",
        "issue_events_url": "https://api.github.com/repos/chaosconst/bot5.club/issues/events{/number}",
        "events_url": "https://api.github.com/repos/chaosconst/bot5.club/events",
        "assignees_url": "https://api.github.com/repos/chaosconst/bot5.club/assignees{/user}",
        "branches_url": "https://api.github.com/repos/chaosconst/bot5.club/branches{/branch}",
        "tags_url": "https://api.github.com/repos/chaosconst/bot5.club/tags",
        "blobs_url": "https://api.github.com/repos/chaosconst/bot5.club/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/chaosconst/bot5.club/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/chaosconst/bot5.club/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/chaosconst/bot5.club/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/chaosconst/bot5.club/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/chaosconst/bot5.club/languages",
        "stargazers_url": "https://api.github.com/repos/chaosconst/bot5.club/stargazers",
        "contributors_url": "https://api.github.com/repos/chaosconst/bot5.club/contributors",
        "subscribers_url": "https://api.github.com/repos/chaosconst/bot5.club/subscribers",
        "subscription_url": "https://api.github.com/repos/chaosconst/bot5.club/subscription",
        "commits_url": "https://api.github.com/repos/chaosconst/bot5.club/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/chaosconst/bot5.club/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/chaosconst/bot5.club/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/chaosconst/bot5.club/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/chaosconst/bot5.club/contents/{+path}",
        "compare_url": "https://api.github.com/repos/chaosconst/bot5.club/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/chaosconst/bot5.club/merges",
        "archive_url": "https://api.github.com/repos/chaosconst/bot5.club/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/chaosconst/bot5.club/downloads",
        "issues_url": "https://api.github.com/repos/chaosconst/bot5.club/issues{/number}",
        "pulls_url": "https://api.github.com/repos/chaosconst/bot5.club/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/chaosconst/bot5.club/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/chaosconst/bot5.club/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/chaosconst/bot5.club/labels{/name}",
        "releases_url": "https://api.github.com/repos/chaosconst/bot5.club/releases{/id}",
        "deployments_url": "https://api.github.com/repos/chaosconst/bot5.club/deployments",
        "created_at": "2020-01-13T13:46:04Z",
        "updated_at": "2020-01-13T13:46:06Z",
        "pushed_at": "2020-03-08T15:26:17Z",
        "git_url": "git://github.com/chaosconst/bot5.club.git",
        "ssh_url": "git@github.com:chaosconst/bot5.club.git",
        "clone_url": "https://github.com/chaosconst/bot5.club.git",
        "svn_url": "https://github.com/chaosconst/bot5.club",
        "homepage": "https://bot5.club",
        "size": 169045,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": null,
        "has_issues": false,
        "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": 0,
        "license": {
          "key": "apache-2.0",
          "name": "Apache License 2.0",
          "spdx_id": "Apache-2.0",
          "url": "https://api.github.com/licenses/apache-2.0",
          "node_id": "MDc6TGljZW5zZTI="
        },
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "base": {
      "label": "wechaty:master",
      "ref": "master",
      "sha": "66ca6f5d8b98ca887e88dfa42f7a20ebe3e64df9",
      "user": {
        "login": "wechaty",
        "id": 21285357,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
        "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/wechaty",
        "html_url": "https://github.com/wechaty",
        "followers_url": "https://api.github.com/users/wechaty/followers",
        "following_url": "https://api.github.com/users/wechaty/following{/other_user}",
        "gists_url": "https://api.github.com/users/wechaty/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/wechaty/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/wechaty/subscriptions",
        "organizations_url": "https://api.github.com/users/wechaty/orgs",
        "repos_url": "https://api.github.com/users/wechaty/repos",
        "events_url": "https://api.github.com/users/wechaty/events{/privacy}",
        "received_events_url": "https://api.github.com/users/wechaty/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 200522116,
        "node_id": "MDEwOlJlcG9zaXRvcnkyMDA1MjIxMTY=",
        "name": "bot5.club",
        "full_name": "wechaty/bot5.club",
        "private": false,
        "owner": {
          "login": "wechaty",
          "id": 21285357,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
          "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/wechaty",
          "html_url": "https://github.com/wechaty",
          "followers_url": "https://api.github.com/users/wechaty/followers",
          "following_url": "https://api.github.com/users/wechaty/following{/other_user}",
          "gists_url": "https://api.github.com/users/wechaty/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/wechaty/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/wechaty/subscriptions",
          "organizations_url": "https://api.github.com/users/wechaty/orgs",
          "repos_url": "https://api.github.com/users/wechaty/repos",
          "events_url": "https://api.github.com/users/wechaty/events{/privacy}",
          "received_events_url": "https://api.github.com/users/wechaty/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/wechaty/bot5.club",
        "description": "Bot Friday Club - BOT5",
        "fork": false,
        "url": "https://api.github.com/repos/wechaty/bot5.club",
        "forks_url": "https://api.github.com/repos/wechaty/bot5.club/forks",
        "keys_url": "https://api.github.com/repos/wechaty/bot5.club/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/wechaty/bot5.club/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/wechaty/bot5.club/teams",
        "hooks_url": "https://api.github.com/repos/wechaty/bot5.club/hooks",
        "issue_events_url": "https://api.github.com/repos/wechaty/bot5.club/issues/events{/number}",
        "events_url": "https://api.github.com/repos/wechaty/bot5.club/events",
        "assignees_url": "https://api.github.com/repos/wechaty/bot5.club/assignees{/user}",
        "branches_url": "https://api.github.com/repos/wechaty/bot5.club/branches{/branch}",
        "tags_url": "https://api.github.com/repos/wechaty/bot5.club/tags",
        "blobs_url": "https://api.github.com/repos/wechaty/bot5.club/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/wechaty/bot5.club/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/wechaty/bot5.club/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/wechaty/bot5.club/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/wechaty/bot5.club/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/wechaty/bot5.club/languages",
        "stargazers_url": "https://api.github.com/repos/wechaty/bot5.club/stargazers",
        "contributors_url": "https://api.github.com/repos/wechaty/bot5.club/contributors",
        "subscribers_url": "https://api.github.com/repos/wechaty/bot5.club/subscribers",
        "subscription_url": "https://api.github.com/repos/wechaty/bot5.club/subscription",
        "commits_url": "https://api.github.com/repos/wechaty/bot5.club/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/wechaty/bot5.club/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/wechaty/bot5.club/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/wechaty/bot5.club/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/wechaty/bot5.club/contents/{+path}",
        "compare_url": "https://api.github.com/repos/wechaty/bot5.club/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/wechaty/bot5.club/merges",
        "archive_url": "https://api.github.com/repos/wechaty/bot5.club/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/wechaty/bot5.club/downloads",
        "issues_url": "https://api.github.com/repos/wechaty/bot5.club/issues{/number}",
        "pulls_url": "https://api.github.com/repos/wechaty/bot5.club/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/wechaty/bot5.club/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/wechaty/bot5.club/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/wechaty/bot5.club/labels{/name}",
        "releases_url": "https://api.github.com/repos/wechaty/bot5.club/releases{/id}",
        "deployments_url": "https://api.github.com/repos/wechaty/bot5.club/deployments",
        "created_at": "2019-08-04T17:28:30Z",
        "updated_at": "2020-02-12T03:43:06Z",
        "pushed_at": "2020-03-08T15:26:40Z",
        "git_url": "git://github.com/wechaty/bot5.club.git",
        "ssh_url": "git@github.com:wechaty/bot5.club.git",
        "clone_url": "https://github.com/wechaty/bot5.club.git",
        "svn_url": "https://github.com/wechaty/bot5.club",
        "homepage": "https://bot5.club",
        "size": 169063,
        "stargazers_count": 14,
        "watchers_count": 14,
        "language": "TypeScript",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": true,
        "forks_count": 26,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 30,
        "license": {
          "key": "apache-2.0",
          "name": "Apache License 2.0",
          "spdx_id": "Apache-2.0",
          "url": "https://api.github.com/licenses/apache-2.0",
          "node_id": "MDc6TGljZW5zZTI="
        },
        "forks": 26,
        "open_issues": 30,
        "watchers": 14,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148"
      },
      "html": {
        "href": "https://github.com/wechaty/bot5.club/pull/148"
      },
      "issue": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/issues/148"
      },
      "comments": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/issues/148/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/statuses/83e57ae443c90c2381b8729cb634487c0b90260b"
      }
    },
    "author_association": "NONE"
  },
  "repository": {
    "id": 200522116,
    "node_id": "MDEwOlJlcG9zaXRvcnkyMDA1MjIxMTY=",
    "name": "bot5.club",
    "full_name": "wechaty/bot5.club",
    "private": false,
    "owner": {
      "login": "wechaty",
      "id": 21285357,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
      "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/wechaty",
      "html_url": "https://github.com/wechaty",
      "followers_url": "https://api.github.com/users/wechaty/followers",
      "following_url": "https://api.github.com/users/wechaty/following{/other_user}",
      "gists_url": "https://api.github.com/users/wechaty/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/wechaty/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/wechaty/subscriptions",
      "organizations_url": "https://api.github.com/users/wechaty/orgs",
      "repos_url": "https://api.github.com/users/wechaty/repos",
      "events_url": "https://api.github.com/users/wechaty/events{/privacy}",
      "received_events_url": "https://api.github.com/users/wechaty/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/wechaty/bot5.club",
    "description": "Bot Friday Club - BOT5",
    "fork": false,
    "url": "https://api.github.com/repos/wechaty/bot5.club",
    "forks_url": "https://api.github.com/repos/wechaty/bot5.club/forks",
    "keys_url": "https://api.github.com/repos/wechaty/bot5.club/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/wechaty/bot5.club/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/wechaty/bot5.club/teams",
    "hooks_url": "https://api.github.com/repos/wechaty/bot5.club/hooks",
    "issue_events_url": "https://api.github.com/repos/wechaty/bot5.club/issues/events{/number}",
    "events_url": "https://api.github.com/repos/wechaty/bot5.club/events",
    "assignees_url": "https://api.github.com/repos/wechaty/bot5.club/assignees{/user}",
    "branches_url": "https://api.github.com/repos/wechaty/bot5.club/branches{/branch}",
    "tags_url": "https://api.github.com/repos/wechaty/bot5.club/tags",
    "blobs_url": "https://api.github.com/repos/wechaty/bot5.club/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/wechaty/bot5.club/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/wechaty/bot5.club/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/wechaty/bot5.club/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/wechaty/bot5.club/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/wechaty/bot5.club/languages",
    "stargazers_url": "https://api.github.com/repos/wechaty/bot5.club/stargazers",
    "contributors_url": "https://api.github.com/repos/wechaty/bot5.club/contributors",
    "subscribers_url": "https://api.github.com/repos/wechaty/bot5.club/subscribers",
    "subscription_url": "https://api.github.com/repos/wechaty/bot5.club/subscription",
    "commits_url": "https://api.github.com/repos/wechaty/bot5.club/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/wechaty/bot5.club/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/wechaty/bot5.club/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/wechaty/bot5.club/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/wechaty/bot5.club/contents/{+path}",
    "compare_url": "https://api.github.com/repos/wechaty/bot5.club/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/wechaty/bot5.club/merges",
    "archive_url": "https://api.github.com/repos/wechaty/bot5.club/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/wechaty/bot5.club/downloads",
    "issues_url": "https://api.github.com/repos/wechaty/bot5.club/issues{/number}",
    "pulls_url": "https://api.github.com/repos/wechaty/bot5.club/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/wechaty/bot5.club/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/wechaty/bot5.club/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/wechaty/bot5.club/labels{/name}",
    "releases_url": "https://api.github.com/repos/wechaty/bot5.club/releases{/id}",
    "deployments_url": "https://api.github.com/repos/wechaty/bot5.club/deployments",
    "created_at": "2019-08-04T17:28:30Z",
    "updated_at": "2020-02-12T03:43:06Z",
    "pushed_at": "2020-03-08T15:26:40Z",
    "git_url": "git://github.com/wechaty/bot5.club.git",
    "ssh_url": "git@github.com:wechaty/bot5.club.git",
    "clone_url": "https://github.com/wechaty/bot5.club.git",
    "svn_url": "https://github.com/wechaty/bot5.club",
    "homepage": "https://bot5.club",
    "size": 169063,
    "stargazers_count": 14,
    "watchers_count": 14,
    "language": "TypeScript",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": true,
    "forks_count": 26,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 30,
    "license": {
      "key": "apache-2.0",
      "name": "Apache License 2.0",
      "spdx_id": "Apache-2.0",
      "url": "https://api.github.com/licenses/apache-2.0",
      "node_id": "MDc6TGljZW5zZTI="
    },
    "forks": 26,
    "open_issues": 30,
    "watchers": 14,
    "default_branch": "master"
  },
  "organization": {
    "login": "wechaty",
    "id": 21285357,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
    "url": "https://api.github.com/orgs/wechaty",
    "repos_url": "https://api.github.com/orgs/wechaty/repos",
    "events_url": "https://api.github.com/orgs/wechaty/events",
    "hooks_url": "https://api.github.com/orgs/wechaty/hooks",
    "issues_url": "https://api.github.com/orgs/wechaty/issues",
    "members_url": "https://api.github.com/orgs/wechaty/members{/member}",
    "public_members_url": "https://api.github.com/orgs/wechaty/public_members{/member}",
    "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
    "description": "Conversational RPA for Wechat"
  },
  "sender": {
    "login": "huan",
    "id": 1361891,
    "node_id": "MDQ6VXNlcjEzNjE4OTE=",
    "avatar_url": "https://avatars3.githubusercontent.com/u/1361891?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/huan",
    "html_url": "https://github.com/huan",
    "followers_url": "https://api.github.com/users/huan/followers",
    "following_url": "https://api.github.com/users/huan/following{/other_user}",
    "gists_url": "https://api.github.com/users/huan/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/huan/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/huan/subscriptions",
    "organizations_url": "https://api.github.com/users/huan/orgs",
    "repos_url": "https://api.github.com/users/huan/repos",
    "events_url": "https://api.github.com/users/huan/events{/privacy}",
    "received_events_url": "https://api.github.com/users/huan/received_events",
    "type": "User",
    "site_admin": false
  },
  "installation": {
    "id": 7139903,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNzEzOTkwMw=="
  }
}
huan commented 4 years ago

X-GitHub-Event: pull_request

{
  "action": "review_requested",
  "number": 148,
  "pull_request": {
    "url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148",
    "id": 385279202,
    "node_id": "MDExOlB1bGxSZXF1ZXN0Mzg1Mjc5MjAy",
    "html_url": "https://github.com/wechaty/bot5.club/pull/148",
    "diff_url": "https://github.com/wechaty/bot5.club/pull/148.diff",
    "patch_url": "https://github.com/wechaty/bot5.club/pull/148.patch",
    "issue_url": "https://api.github.com/repos/wechaty/bot5.club/issues/148",
    "number": 148,
    "state": "open",
    "locked": false,
    "title": "增加分享内容",
    "user": {
      "login": "chaosconst",
      "id": 299962,
      "node_id": "MDQ6VXNlcjI5OTk2Mg==",
      "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/chaosconst",
      "html_url": "https://github.com/chaosconst",
      "followers_url": "https://api.github.com/users/chaosconst/followers",
      "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
      "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
      "organizations_url": "https://api.github.com/users/chaosconst/orgs",
      "repos_url": "https://api.github.com/users/chaosconst/repos",
      "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
      "received_events_url": "https://api.github.com/users/chaosconst/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "NLP 游戏相关的一次讲座",
    "created_at": "2020-03-08T15:26:39Z",
    "updated_at": "2020-03-08T15:26:39Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [
      {
        "name": "chairs",
        "id": 3351689,
        "node_id": "MDQ6VGVhbTMzNTE2ODk=",
        "slug": "chairs",
        "description": "Chairperson of BOT5",
        "privacy": "closed",
        "url": "https://api.github.com/organizations/21285357/team/3351689",
        "html_url": "https://github.com/orgs/wechaty/teams/chairs",
        "members_url": "https://api.github.com/organizations/21285357/team/3351689/members{/member}",
        "repositories_url": "https://api.github.com/organizations/21285357/team/3351689/repos",
        "permission": "pull",
        "parent": {
          "name": "BOT5",
          "id": 3351688,
          "node_id": "MDQ6VGVhbTMzNTE2ODg=",
          "slug": "bot5",
          "description": "Bot Friday CLUB",
          "privacy": "closed",
          "url": "https://api.github.com/organizations/21285357/team/3351688",
          "html_url": "https://github.com/orgs/wechaty/teams/bot5",
          "members_url": "https://api.github.com/organizations/21285357/team/3351688/members{/member}",
          "repositories_url": "https://api.github.com/organizations/21285357/team/3351688/repos",
          "permission": "pull"
        }
      }
    ],
    "labels": [

    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/commits",
    "review_comments_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/comments",
    "review_comment_url": "https://api.github.com/repos/wechaty/bot5.club/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/wechaty/bot5.club/issues/148/comments",
    "statuses_url": "https://api.github.com/repos/wechaty/bot5.club/statuses/83e57ae443c90c2381b8729cb634487c0b90260b",
    "head": {
      "label": "chaosconst:patch-1",
      "ref": "patch-1",
      "sha": "83e57ae443c90c2381b8729cb634487c0b90260b",
      "user": {
        "login": "chaosconst",
        "id": 299962,
        "node_id": "MDQ6VXNlcjI5OTk2Mg==",
        "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/chaosconst",
        "html_url": "https://github.com/chaosconst",
        "followers_url": "https://api.github.com/users/chaosconst/followers",
        "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
        "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
        "organizations_url": "https://api.github.com/users/chaosconst/orgs",
        "repos_url": "https://api.github.com/users/chaosconst/repos",
        "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
        "received_events_url": "https://api.github.com/users/chaosconst/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 233605459,
        "node_id": "MDEwOlJlcG9zaXRvcnkyMzM2MDU0NTk=",
        "name": "bot5.club",
        "full_name": "chaosconst/bot5.club",
        "private": false,
        "owner": {
          "login": "chaosconst",
          "id": 299962,
          "node_id": "MDQ6VXNlcjI5OTk2Mg==",
          "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/chaosconst",
          "html_url": "https://github.com/chaosconst",
          "followers_url": "https://api.github.com/users/chaosconst/followers",
          "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
          "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
          "organizations_url": "https://api.github.com/users/chaosconst/orgs",
          "repos_url": "https://api.github.com/users/chaosconst/repos",
          "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
          "received_events_url": "https://api.github.com/users/chaosconst/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/chaosconst/bot5.club",
        "description": "Bot Friday Club - BOT5",
        "fork": true,
        "url": "https://api.github.com/repos/chaosconst/bot5.club",
        "forks_url": "https://api.github.com/repos/chaosconst/bot5.club/forks",
        "keys_url": "https://api.github.com/repos/chaosconst/bot5.club/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/chaosconst/bot5.club/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/chaosconst/bot5.club/teams",
        "hooks_url": "https://api.github.com/repos/chaosconst/bot5.club/hooks",
        "issue_events_url": "https://api.github.com/repos/chaosconst/bot5.club/issues/events{/number}",
        "events_url": "https://api.github.com/repos/chaosconst/bot5.club/events",
        "assignees_url": "https://api.github.com/repos/chaosconst/bot5.club/assignees{/user}",
        "branches_url": "https://api.github.com/repos/chaosconst/bot5.club/branches{/branch}",
        "tags_url": "https://api.github.com/repos/chaosconst/bot5.club/tags",
        "blobs_url": "https://api.github.com/repos/chaosconst/bot5.club/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/chaosconst/bot5.club/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/chaosconst/bot5.club/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/chaosconst/bot5.club/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/chaosconst/bot5.club/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/chaosconst/bot5.club/languages",
        "stargazers_url": "https://api.github.com/repos/chaosconst/bot5.club/stargazers",
        "contributors_url": "https://api.github.com/repos/chaosconst/bot5.club/contributors",
        "subscribers_url": "https://api.github.com/repos/chaosconst/bot5.club/subscribers",
        "subscription_url": "https://api.github.com/repos/chaosconst/bot5.club/subscription",
        "commits_url": "https://api.github.com/repos/chaosconst/bot5.club/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/chaosconst/bot5.club/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/chaosconst/bot5.club/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/chaosconst/bot5.club/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/chaosconst/bot5.club/contents/{+path}",
        "compare_url": "https://api.github.com/repos/chaosconst/bot5.club/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/chaosconst/bot5.club/merges",
        "archive_url": "https://api.github.com/repos/chaosconst/bot5.club/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/chaosconst/bot5.club/downloads",
        "issues_url": "https://api.github.com/repos/chaosconst/bot5.club/issues{/number}",
        "pulls_url": "https://api.github.com/repos/chaosconst/bot5.club/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/chaosconst/bot5.club/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/chaosconst/bot5.club/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/chaosconst/bot5.club/labels{/name}",
        "releases_url": "https://api.github.com/repos/chaosconst/bot5.club/releases{/id}",
        "deployments_url": "https://api.github.com/repos/chaosconst/bot5.club/deployments",
        "created_at": "2020-01-13T13:46:04Z",
        "updated_at": "2020-01-13T13:46:06Z",
        "pushed_at": "2020-03-08T15:26:17Z",
        "git_url": "git://github.com/chaosconst/bot5.club.git",
        "ssh_url": "git@github.com:chaosconst/bot5.club.git",
        "clone_url": "https://github.com/chaosconst/bot5.club.git",
        "svn_url": "https://github.com/chaosconst/bot5.club",
        "homepage": "https://bot5.club",
        "size": 169045,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": null,
        "has_issues": false,
        "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": 0,
        "license": {
          "key": "apache-2.0",
          "name": "Apache License 2.0",
          "spdx_id": "Apache-2.0",
          "url": "https://api.github.com/licenses/apache-2.0",
          "node_id": "MDc6TGljZW5zZTI="
        },
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "base": {
      "label": "wechaty:master",
      "ref": "master",
      "sha": "66ca6f5d8b98ca887e88dfa42f7a20ebe3e64df9",
      "user": {
        "login": "wechaty",
        "id": 21285357,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
        "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/wechaty",
        "html_url": "https://github.com/wechaty",
        "followers_url": "https://api.github.com/users/wechaty/followers",
        "following_url": "https://api.github.com/users/wechaty/following{/other_user}",
        "gists_url": "https://api.github.com/users/wechaty/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/wechaty/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/wechaty/subscriptions",
        "organizations_url": "https://api.github.com/users/wechaty/orgs",
        "repos_url": "https://api.github.com/users/wechaty/repos",
        "events_url": "https://api.github.com/users/wechaty/events{/privacy}",
        "received_events_url": "https://api.github.com/users/wechaty/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 200522116,
        "node_id": "MDEwOlJlcG9zaXRvcnkyMDA1MjIxMTY=",
        "name": "bot5.club",
        "full_name": "wechaty/bot5.club",
        "private": false,
        "owner": {
          "login": "wechaty",
          "id": 21285357,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
          "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/wechaty",
          "html_url": "https://github.com/wechaty",
          "followers_url": "https://api.github.com/users/wechaty/followers",
          "following_url": "https://api.github.com/users/wechaty/following{/other_user}",
          "gists_url": "https://api.github.com/users/wechaty/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/wechaty/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/wechaty/subscriptions",
          "organizations_url": "https://api.github.com/users/wechaty/orgs",
          "repos_url": "https://api.github.com/users/wechaty/repos",
          "events_url": "https://api.github.com/users/wechaty/events{/privacy}",
          "received_events_url": "https://api.github.com/users/wechaty/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/wechaty/bot5.club",
        "description": "Bot Friday Club - BOT5",
        "fork": false,
        "url": "https://api.github.com/repos/wechaty/bot5.club",
        "forks_url": "https://api.github.com/repos/wechaty/bot5.club/forks",
        "keys_url": "https://api.github.com/repos/wechaty/bot5.club/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/wechaty/bot5.club/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/wechaty/bot5.club/teams",
        "hooks_url": "https://api.github.com/repos/wechaty/bot5.club/hooks",
        "issue_events_url": "https://api.github.com/repos/wechaty/bot5.club/issues/events{/number}",
        "events_url": "https://api.github.com/repos/wechaty/bot5.club/events",
        "assignees_url": "https://api.github.com/repos/wechaty/bot5.club/assignees{/user}",
        "branches_url": "https://api.github.com/repos/wechaty/bot5.club/branches{/branch}",
        "tags_url": "https://api.github.com/repos/wechaty/bot5.club/tags",
        "blobs_url": "https://api.github.com/repos/wechaty/bot5.club/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/wechaty/bot5.club/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/wechaty/bot5.club/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/wechaty/bot5.club/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/wechaty/bot5.club/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/wechaty/bot5.club/languages",
        "stargazers_url": "https://api.github.com/repos/wechaty/bot5.club/stargazers",
        "contributors_url": "https://api.github.com/repos/wechaty/bot5.club/contributors",
        "subscribers_url": "https://api.github.com/repos/wechaty/bot5.club/subscribers",
        "subscription_url": "https://api.github.com/repos/wechaty/bot5.club/subscription",
        "commits_url": "https://api.github.com/repos/wechaty/bot5.club/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/wechaty/bot5.club/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/wechaty/bot5.club/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/wechaty/bot5.club/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/wechaty/bot5.club/contents/{+path}",
        "compare_url": "https://api.github.com/repos/wechaty/bot5.club/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/wechaty/bot5.club/merges",
        "archive_url": "https://api.github.com/repos/wechaty/bot5.club/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/wechaty/bot5.club/downloads",
        "issues_url": "https://api.github.com/repos/wechaty/bot5.club/issues{/number}",
        "pulls_url": "https://api.github.com/repos/wechaty/bot5.club/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/wechaty/bot5.club/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/wechaty/bot5.club/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/wechaty/bot5.club/labels{/name}",
        "releases_url": "https://api.github.com/repos/wechaty/bot5.club/releases{/id}",
        "deployments_url": "https://api.github.com/repos/wechaty/bot5.club/deployments",
        "created_at": "2019-08-04T17:28:30Z",
        "updated_at": "2020-02-12T03:43:06Z",
        "pushed_at": "2020-02-23T16:59:45Z",
        "git_url": "git://github.com/wechaty/bot5.club.git",
        "ssh_url": "git@github.com:wechaty/bot5.club.git",
        "clone_url": "https://github.com/wechaty/bot5.club.git",
        "svn_url": "https://github.com/wechaty/bot5.club",
        "homepage": "https://bot5.club",
        "size": 169063,
        "stargazers_count": 14,
        "watchers_count": 14,
        "language": "TypeScript",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": true,
        "forks_count": 26,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 30,
        "license": {
          "key": "apache-2.0",
          "name": "Apache License 2.0",
          "spdx_id": "Apache-2.0",
          "url": "https://api.github.com/licenses/apache-2.0",
          "node_id": "MDc6TGljZW5zZTI="
        },
        "forks": 26,
        "open_issues": 30,
        "watchers": 14,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148"
      },
      "html": {
        "href": "https://github.com/wechaty/bot5.club/pull/148"
      },
      "issue": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/issues/148"
      },
      "comments": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/issues/148/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/pulls/148/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/wechaty/bot5.club/statuses/83e57ae443c90c2381b8729cb634487c0b90260b"
      }
    },
    "author_association": "NONE",
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": true,
    "commits": 1,
    "additions": 1,
    "deletions": 0,
    "changed_files": 1
  },
  "requested_team": {
    "name": "chairs",
    "id": 3351689,
    "node_id": "MDQ6VGVhbTMzNTE2ODk=",
    "slug": "chairs",
    "description": "Chairperson of BOT5",
    "privacy": "closed",
    "url": "https://api.github.com/organizations/21285357/team/3351689",
    "html_url": "https://github.com/orgs/wechaty/teams/chairs",
    "members_url": "https://api.github.com/organizations/21285357/team/3351689/members{/member}",
    "repositories_url": "https://api.github.com/organizations/21285357/team/3351689/repos",
    "permission": "pull",
    "parent": {
      "name": "BOT5",
      "id": 3351688,
      "node_id": "MDQ6VGVhbTMzNTE2ODg=",
      "slug": "bot5",
      "description": "Bot Friday CLUB",
      "privacy": "closed",
      "url": "https://api.github.com/organizations/21285357/team/3351688",
      "html_url": "https://github.com/orgs/wechaty/teams/bot5",
      "members_url": "https://api.github.com/organizations/21285357/team/3351688/members{/member}",
      "repositories_url": "https://api.github.com/organizations/21285357/team/3351688/repos",
      "permission": "pull"
    }
  },
  "repository": {
    "id": 200522116,
    "node_id": "MDEwOlJlcG9zaXRvcnkyMDA1MjIxMTY=",
    "name": "bot5.club",
    "full_name": "wechaty/bot5.club",
    "private": false,
    "owner": {
      "login": "wechaty",
      "id": 21285357,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
      "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/wechaty",
      "html_url": "https://github.com/wechaty",
      "followers_url": "https://api.github.com/users/wechaty/followers",
      "following_url": "https://api.github.com/users/wechaty/following{/other_user}",
      "gists_url": "https://api.github.com/users/wechaty/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/wechaty/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/wechaty/subscriptions",
      "organizations_url": "https://api.github.com/users/wechaty/orgs",
      "repos_url": "https://api.github.com/users/wechaty/repos",
      "events_url": "https://api.github.com/users/wechaty/events{/privacy}",
      "received_events_url": "https://api.github.com/users/wechaty/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/wechaty/bot5.club",
    "description": "Bot Friday Club - BOT5",
    "fork": false,
    "url": "https://api.github.com/repos/wechaty/bot5.club",
    "forks_url": "https://api.github.com/repos/wechaty/bot5.club/forks",
    "keys_url": "https://api.github.com/repos/wechaty/bot5.club/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/wechaty/bot5.club/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/wechaty/bot5.club/teams",
    "hooks_url": "https://api.github.com/repos/wechaty/bot5.club/hooks",
    "issue_events_url": "https://api.github.com/repos/wechaty/bot5.club/issues/events{/number}",
    "events_url": "https://api.github.com/repos/wechaty/bot5.club/events",
    "assignees_url": "https://api.github.com/repos/wechaty/bot5.club/assignees{/user}",
    "branches_url": "https://api.github.com/repos/wechaty/bot5.club/branches{/branch}",
    "tags_url": "https://api.github.com/repos/wechaty/bot5.club/tags",
    "blobs_url": "https://api.github.com/repos/wechaty/bot5.club/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/wechaty/bot5.club/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/wechaty/bot5.club/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/wechaty/bot5.club/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/wechaty/bot5.club/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/wechaty/bot5.club/languages",
    "stargazers_url": "https://api.github.com/repos/wechaty/bot5.club/stargazers",
    "contributors_url": "https://api.github.com/repos/wechaty/bot5.club/contributors",
    "subscribers_url": "https://api.github.com/repos/wechaty/bot5.club/subscribers",
    "subscription_url": "https://api.github.com/repos/wechaty/bot5.club/subscription",
    "commits_url": "https://api.github.com/repos/wechaty/bot5.club/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/wechaty/bot5.club/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/wechaty/bot5.club/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/wechaty/bot5.club/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/wechaty/bot5.club/contents/{+path}",
    "compare_url": "https://api.github.com/repos/wechaty/bot5.club/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/wechaty/bot5.club/merges",
    "archive_url": "https://api.github.com/repos/wechaty/bot5.club/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/wechaty/bot5.club/downloads",
    "issues_url": "https://api.github.com/repos/wechaty/bot5.club/issues{/number}",
    "pulls_url": "https://api.github.com/repos/wechaty/bot5.club/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/wechaty/bot5.club/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/wechaty/bot5.club/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/wechaty/bot5.club/labels{/name}",
    "releases_url": "https://api.github.com/repos/wechaty/bot5.club/releases{/id}",
    "deployments_url": "https://api.github.com/repos/wechaty/bot5.club/deployments",
    "created_at": "2019-08-04T17:28:30Z",
    "updated_at": "2020-02-12T03:43:06Z",
    "pushed_at": "2020-02-23T16:59:45Z",
    "git_url": "git://github.com/wechaty/bot5.club.git",
    "ssh_url": "git@github.com:wechaty/bot5.club.git",
    "clone_url": "https://github.com/wechaty/bot5.club.git",
    "svn_url": "https://github.com/wechaty/bot5.club",
    "homepage": "https://bot5.club",
    "size": 169063,
    "stargazers_count": 14,
    "watchers_count": 14,
    "language": "TypeScript",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": true,
    "forks_count": 26,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 30,
    "license": {
      "key": "apache-2.0",
      "name": "Apache License 2.0",
      "spdx_id": "Apache-2.0",
      "url": "https://api.github.com/licenses/apache-2.0",
      "node_id": "MDc6TGljZW5zZTI="
    },
    "forks": 26,
    "open_issues": 30,
    "watchers": 14,
    "default_branch": "master"
  },
  "organization": {
    "login": "wechaty",
    "id": 21285357,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjIxMjg1MzU3",
    "url": "https://api.github.com/orgs/wechaty",
    "repos_url": "https://api.github.com/orgs/wechaty/repos",
    "events_url": "https://api.github.com/orgs/wechaty/events",
    "hooks_url": "https://api.github.com/orgs/wechaty/hooks",
    "issues_url": "https://api.github.com/orgs/wechaty/issues",
    "members_url": "https://api.github.com/orgs/wechaty/members{/member}",
    "public_members_url": "https://api.github.com/orgs/wechaty/public_members{/member}",
    "avatar_url": "https://avatars0.githubusercontent.com/u/21285357?v=4",
    "description": "Conversational RPA for Wechat"
  },
  "sender": {
    "login": "chaosconst",
    "id": 299962,
    "node_id": "MDQ6VXNlcjI5OTk2Mg==",
    "avatar_url": "https://avatars0.githubusercontent.com/u/299962?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/chaosconst",
    "html_url": "https://github.com/chaosconst",
    "followers_url": "https://api.github.com/users/chaosconst/followers",
    "following_url": "https://api.github.com/users/chaosconst/following{/other_user}",
    "gists_url": "https://api.github.com/users/chaosconst/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/chaosconst/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/chaosconst/subscriptions",
    "organizations_url": "https://api.github.com/users/chaosconst/orgs",
    "repos_url": "https://api.github.com/users/chaosconst/repos",
    "events_url": "https://api.github.com/users/chaosconst/events{/privacy}",
    "received_events_url": "https://api.github.com/users/chaosconst/received_events",
    "type": "User",
    "site_admin": false
  },
  "installation": {
    "id": 7139903,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNzEzOTkwMw=="
  }
}
huan commented 4 years ago

Updated two json payloads: one is Pull Request, another is PR Review.

huan commented 2 years ago

Has been implemented already.