tracehubpm / code-review-action

Quality of Code Review Checker, plugin it as GitHub Action
MIT License
7 stars 2 forks source link

Entry.java:60-62: Fetch pull request approver to post... #36

Closed 0pdd closed 8 months ago

0pdd commented 8 months ago

The puzzle 2-a383e1db from #2 has to be resolved:

https://github.com/tracehubpm/code-review-action/blob/9bf7dc41c6ec61cf9ed1c94308d37e2ab221498d/src/main/java/git/tracehub/codereview/action/Entry.java#L60-L62

The puzzle was created by @h1alexbel on 02-Apr-24.

Estimate: 25 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \"done\" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

h1alexbel commented 8 months ago

inside this JSON:

{
  "action": "submitted",
  "pull_request": {
    "_links": {
      "comments": {
        "href": "https://api.github.com/repos/h1alexbel/***/issues/313/comments"
      },
      "commits": {
        "href": "https://api.github.com/repos/h1alexbel/***/pulls/313/commits"
      },
      "html": {
        "href": "https://github.com/h1alexbel/***/pull/313"
      },
      "issue": {
        "href": "https://api.github.com/repos/h1alexbel/***/issues/313"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/h1alexbel/***/pulls/comments{/number}"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/h1alexbel/***/pulls/313/comments"
      },
      "self": {
        "href": "https://api.github.com/repos/h1alexbel/***/pulls/313"
      },
      "statuses": {
        "href": "https://api.github.com/repos/h1alexbel/***/statuses/6f552423328adccd48b023601260b53d67a493a2"
      }
    },
    "active_lock_reason": null,
    "assignee": null,
    "assignees": [],
    "author_association": "COLLABORATOR",
    "auto_merge": null,
    "base": {
      "label": "h1alexbel:master",
      "ref": "master",
      "repo": {
        "allow_auto_merge": false,
        "allow_forking": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_squash_merge": true,
        "allow_update_branch": false,
        "archive_url": "https://api.github.com/repos/h1alexbel/***/{archive_format}{/ref}",
        "archived": false,
        "assignees_url": "https://api.github.com/repos/h1alexbel/***/assignees{/user}",
        "blobs_url": "https://api.github.com/repos/h1alexbel/***/git/blobs{/sha}",
        "branches_url": "https://api.github.com/repos/h1alexbel/***/branches{/branch}",
        "clone_url": "https://github.com/h1alexbel/***.git",
        "collaborators_url": "https://api.github.com/repos/h1alexbel/***/collaborators{/collaborator}",
        "comments_url": "https://api.github.com/repos/h1alexbel/***/comments{/number}",
        "commits_url": "https://api.github.com/repos/h1alexbel/***/commits{/sha}",
        "compare_url": "https://api.github.com/repos/h1alexbel/***/compare/{base}...{head}",
        "contents_url": "https://api.github.com/repos/h1alexbel/***/contents/{+path}",
        "contributors_url": "https://api.github.com/repos/h1alexbel/***/contributors",
        "created_at": "2024-01-12T12:29:39Z",
        "default_branch": "master",
        "delete_branch_on_merge": false,
        "deployments_url": "https://api.github.com/repos/h1alexbel/***/deployments",
        "description": "Just a *** repository",
        "disabled": false,
        "downloads_url": "https://api.github.com/repos/h1alexbel/***/downloads",
        "events_url": "https://api.github.com/repos/h1alexbel/***/events",
        "fork": false,
        "forks": 0,
        "forks_count": 0,
        "forks_url": "https://api.github.com/repos/h1alexbel/***/forks",
        "full_name": "h1alexbel/***",
        "git_commits_url": "https://api.github.com/repos/h1alexbel/***/git/commits{/sha}",
        "git_refs_url": "https://api.github.com/repos/h1alexbel/***/git/refs{/sha}",
        "git_tags_url": "https://api.github.com/repos/h1alexbel/***/git/tags{/sha}",
        "git_url": "git://github.com/h1alexbel/***.git",
        "has_discussions": false,
        "has_downloads": true,
        "has_issues": true,
        "has_pages": false,
        "has_projects": true,
        "has_wiki": false,
        "homepage": null,
        "hooks_url": "https://api.github.com/repos/h1alexbel/***/hooks",
        "html_url": "https://github.com/h1alexbel/***",
        "id": 742414605,
        "is_template": false,
        "issue_comment_url": "https://api.github.com/repos/h1alexbel/***/issues/comments{/number}",
        "issue_events_url": "https://api.github.com/repos/h1alexbel/***/issues/events{/number}",
        "issues_url": "https://api.github.com/repos/h1alexbel/***/issues{/number}",
        "keys_url": "https://api.github.com/repos/h1alexbel/***/keys{/key_id}",
        "labels_url": "https://api.github.com/repos/h1alexbel/***/labels{/name}",
        "language": "Java",
        "languages_url": "https://api.github.com/repos/h1alexbel/***/languages",
        "license": {
          "key": "mit",
          "name": "MIT License",
          "node_id": "MDc6TGljZW5zZTEz",
          "spdx_id": "MIT",
          "url": "https://api.github.com/licenses/mit"
        },
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE",
        "merges_url": "https://api.github.com/repos/h1alexbel/***/merges",
        "milestones_url": "https://api.github.com/repos/h1alexbel/***/milestones{/number}",
        "mirror_url": null,
        "name": "***",
        "node_id": "R_kgDOLEBZDQ",
        "notifications_url": "https://api.github.com/repos/h1alexbel/***/notifications{?since,all,participating}",
        "open_issues": 657,
        "open_issues_count": 657,
        "owner": {
          "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
          "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
          "followers_url": "https://api.github.com/users/h1alexbel/followers",
          "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
          "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
          "gravatar_id": "",
          "html_url": "https://github.com/h1alexbel",
          "id": 83453843,
          "login": "h1alexbel",
          "node_id": "MDQ6VXNlcjgzNDUzODQz",
          "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
          "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
          "repos_url": "https://api.github.com/users/h1alexbel/repos",
          "site_admin": false,
          "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
          "type": "User",
          "url": "https://api.github.com/users/h1alexbel"
        },
        "private": true,
        "pulls_url": "https://api.github.com/repos/h1alexbel/***/pulls{/number}",
        "pushed_at": "2024-03-28T13:26:28Z",
        "releases_url": "https://api.github.com/repos/h1alexbel/***/releases{/id}",
        "size": 65,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "ssh_url": "git@github.com:h1alexbel/***.git",
        "stargazers_count": 0,
        "stargazers_url": "https://api.github.com/repos/h1alexbel/***/stargazers",
        "statuses_url": "https://api.github.com/repos/h1alexbel/***/statuses/{sha}",
        "subscribers_url": "https://api.github.com/repos/h1alexbel/***/subscribers",
        "subscription_url": "https://api.github.com/repos/h1alexbel/***/subscription",
        "svn_url": "https://github.com/h1alexbel/***",
        "tags_url": "https://api.github.com/repos/h1alexbel/***/tags",
        "teams_url": "https://api.github.com/repos/h1alexbel/***/teams",
        "topics": [],
        "trees_url": "https://api.github.com/repos/h1alexbel/***/git/trees{/sha}",
        "updated_at": "2024-03-20T15:21:09Z",
        "url": "https://api.github.com/repos/h1alexbel/***",
        "use_squash_pr_title_as_default": false,
        "visibility": "private",
        "watchers": 0,
        "watchers_count": 0,
        "web_commit_signoff_required": false
      },
      "sha": "5b8c6f65b2468ff020f5b9a725a9f485cdc2009b",
      "user": {
        "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
        "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
        "followers_url": "https://api.github.com/users/h1alexbel/followers",
        "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
        "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
        "gravatar_id": "",
        "html_url": "https://github.com/h1alexbel",
        "id": 83453843,
        "login": "h1alexbel",
        "node_id": "MDQ6VXNlcjgzNDUzODQz",
        "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
        "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
        "repos_url": "https://api.github.com/users/h1alexbel/repos",
        "site_admin": false,
        "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
        "type": "User",
        "url": "https://api.github.com/users/h1alexbel"
      }
    },
    "body": "<!-- start pr-codex -->\n\n## PR-Codex overview\nThis PR focuses on adding a new job `Test for new issue` in the file `***-for-new-issue.yml`.\n\n### Detailed summary\n- Added a new job `Test for new issue` in `.trace/jobs/***-for-new-issue.yml`.\n\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`\n\n<!-- end pr-codex -->",
    "closed_at": null,
    "comments_url": "https://api.github.com/repos/h1alexbel/***/issues/313/comments",
    "commits_url": "https://api.github.com/repos/h1alexbel/***/pulls/313/commits",
    "created_at": "2024-03-10T02:02:47Z",
    "diff_url": "https://github.com/h1alexbel/***/pull/313.diff",
    "draft": false,
    "head": {
      "label": "h1alexbel:sync-1710036166938",
      "ref": "sync-1710036166938",
      "repo": {
        "allow_auto_merge": false,
        "allow_forking": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_squash_merge": true,
        "allow_update_branch": false,
        "archive_url": "https://api.github.com/repos/h1alexbel/***/{archive_format}{/ref}",
        "archived": false,
        "assignees_url": "https://api.github.com/repos/h1alexbel/***/assignees{/user}",
        "blobs_url": "https://api.github.com/repos/h1alexbel/***/git/blobs{/sha}",
        "branches_url": "https://api.github.com/repos/h1alexbel/***/branches{/branch}",
        "clone_url": "https://github.com/h1alexbel/***.git",
        "collaborators_url": "https://api.github.com/repos/h1alexbel/***/collaborators{/collaborator}",
        "comments_url": "https://api.github.com/repos/h1alexbel/***/comments{/number}",
        "commits_url": "https://api.github.com/repos/h1alexbel/***/commits{/sha}",
        "compare_url": "https://api.github.com/repos/h1alexbel/***/compare/{base}...{head}",
        "contents_url": "https://api.github.com/repos/h1alexbel/***/contents/{+path}",
        "contributors_url": "https://api.github.com/repos/h1alexbel/***/contributors",
        "created_at": "2024-01-12T12:29:39Z",
        "default_branch": "master",
        "delete_branch_on_merge": false,
        "deployments_url": "https://api.github.com/repos/h1alexbel/***/deployments",
        "description": "Just a *** repository",
        "disabled": false,
        "downloads_url": "https://api.github.com/repos/h1alexbel/***/downloads",
        "events_url": "https://api.github.com/repos/h1alexbel/***/events",
        "fork": false,
        "forks": 0,
        "forks_count": 0,
        "forks_url": "https://api.github.com/repos/h1alexbel/***/forks",
        "full_name": "h1alexbel/***",
        "git_commits_url": "https://api.github.com/repos/h1alexbel/***/git/commits{/sha}",
        "git_refs_url": "https://api.github.com/repos/h1alexbel/***/git/refs{/sha}",
        "git_tags_url": "https://api.github.com/repos/h1alexbel/***/git/tags{/sha}",
        "git_url": "git://github.com/h1alexbel/***.git",
        "has_discussions": false,
        "has_downloads": true,
        "has_issues": true,
        "has_pages": false,
        "has_projects": true,
        "has_wiki": false,
        "homepage": null,
        "hooks_url": "https://api.github.com/repos/h1alexbel/***/hooks",
        "html_url": "https://github.com/h1alexbel/***",
        "id": 742414605,
        "is_template": false,
        "issue_comment_url": "https://api.github.com/repos/h1alexbel/***/issues/comments{/number}",
        "issue_events_url": "https://api.github.com/repos/h1alexbel/***/issues/events{/number}",
        "issues_url": "https://api.github.com/repos/h1alexbel/***/issues{/number}",
        "keys_url": "https://api.github.com/repos/h1alexbel/***/keys{/key_id}",
        "labels_url": "https://api.github.com/repos/h1alexbel/***/labels{/name}",
        "language": "Java",
        "languages_url": "https://api.github.com/repos/h1alexbel/***/languages",
        "license": {
          "key": "mit",
          "name": "MIT License",
          "node_id": "MDc6TGljZW5zZTEz",
          "spdx_id": "MIT",
          "url": "https://api.github.com/licenses/mit"
        },
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE",
        "merges_url": "https://api.github.com/repos/h1alexbel/***/merges",
        "milestones_url": "https://api.github.com/repos/h1alexbel/***/milestones{/number}",
        "mirror_url": null,
        "name": "***",
        "node_id": "R_kgDOLEBZDQ",
        "notifications_url": "https://api.github.com/repos/h1alexbel/***/notifications{?since,all,participating}",
        "open_issues": 657,
        "open_issues_count": 657,
        "owner": {
          "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
          "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
          "followers_url": "https://api.github.com/users/h1alexbel/followers",
          "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
          "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
          "gravatar_id": "",
          "html_url": "https://github.com/h1alexbel",
          "id": 83453843,
          "login": "h1alexbel",
          "node_id": "MDQ6VXNlcjgzNDUzODQz",
          "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
          "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
          "repos_url": "https://api.github.com/users/h1alexbel/repos",
          "site_admin": false,
          "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
          "type": "User",
          "url": "https://api.github.com/users/h1alexbel"
        },
        "private": true,
        "pulls_url": "https://api.github.com/repos/h1alexbel/***/pulls{/number}",
        "pushed_at": "2024-03-28T13:26:28Z",
        "releases_url": "https://api.github.com/repos/h1alexbel/***/releases{/id}",
        "size": 65,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "ssh_url": "git@github.com:h1alexbel/***.git",
        "stargazers_count": 0,
        "stargazers_url": "https://api.github.com/repos/h1alexbel/***/stargazers",
        "statuses_url": "https://api.github.com/repos/h1alexbel/***/statuses/{sha}",
        "subscribers_url": "https://api.github.com/repos/h1alexbel/***/subscribers",
        "subscription_url": "https://api.github.com/repos/h1alexbel/***/subscription",
        "svn_url": "https://github.com/h1alexbel/***",
        "tags_url": "https://api.github.com/repos/h1alexbel/***/tags",
        "teams_url": "https://api.github.com/repos/h1alexbel/***/teams",
        "topics": [],
        "trees_url": "https://api.github.com/repos/h1alexbel/***/git/trees{/sha}",
        "updated_at": "2024-03-20T15:21:09Z",
        "url": "https://api.github.com/repos/h1alexbel/***",
        "use_squash_pr_title_as_default": false,
        "visibility": "private",
        "watchers": 0,
        "watchers_count": 0,
        "web_commit_signoff_required": false
      },
      "sha": "6f552423328adccd48b023601260b53d67a493a2",
      "user": {
        "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
        "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
        "followers_url": "https://api.github.com/users/h1alexbel/followers",
        "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
        "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
        "gravatar_id": "",
        "html_url": "https://github.com/h1alexbel",
        "id": 83453843,
        "login": "h1alexbel",
        "node_id": "MDQ6VXNlcjgzNDUzODQz",
        "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
        "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
        "repos_url": "https://api.github.com/users/h1alexbel/repos",
        "site_admin": false,
        "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
        "type": "User",
        "url": "https://api.github.com/users/h1alexbel"
      }
    },
    "html_url": "https://github.com/h1alexbel/***/pull/313",
    "id": 1764255169,
    "issue_url": "https://api.github.com/repos/h1alexbel/***/issues/313",
    "labels": [],
    "locked": false,
    "merge_commit_sha": "3e049fe3bafcbab10aa8084d04c6a77f720f0bf8",
    "merged_at": null,
    "milestone": null,
    "node_id": "PR_kwDOLEBZDc5pKGXB",
    "number": 313,
    "patch_url": "https://github.com/h1alexbel/***/pull/313.patch",
    "requested_reviewers": [],
    "requested_teams": [],
    "review_comment_url": "https://api.github.com/repos/h1alexbel/***/pulls/comments{/number}",
    "review_comments_url": "https://api.github.com/repos/h1alexbel/***/pulls/313/comments",
    "state": "open",
    "statuses_url": "https://api.github.com/repos/h1alexbel/***/statuses/6f552423328adccd48b023601260b53d67a493a2",
    "title": "sync(#142)",
    "updated_at": "2024-04-01T15:50:55Z",
    "url": "https://api.github.com/repos/h1alexbel/***/pulls/313",
    "user": {
      "avatar_url": "https://avatars.githubusercontent.com/u/149370884?v=4",
      "events_url": "https://api.github.com/users/tracehubgit/events{/privacy}",
      "followers_url": "https://api.github.com/users/tracehubgit/followers",
      "following_url": "https://api.github.com/users/tracehubgit/following{/other_user}",
      "gists_url": "https://api.github.com/users/tracehubgit/gists{/gist_id}",
      "gravatar_id": "",
      "html_url": "https://github.com/tracehubgit",
      "id": 149370884,
      "login": "tracehubgit",
      "node_id": "U_kgDOCOc4BA",
      "organizations_url": "https://api.github.com/users/tracehubgit/orgs",
      "received_events_url": "https://api.github.com/users/tracehubgit/received_events",
      "repos_url": "https://api.github.com/users/tracehubgit/repos",
      "site_admin": false,
      "starred_url": "https://api.github.com/users/tracehubgit/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/tracehubgit/subscriptions",
      "type": "User",
      "url": "https://api.github.com/users/tracehubgit"
    }
  },
  "repository": {
    "allow_forking": true,
    "archive_url": "https://api.github.com/repos/h1alexbel/***/{archive_format}{/ref}",
    "archived": false,
    "assignees_url": "https://api.github.com/repos/h1alexbel/***/assignees{/user}",
    "blobs_url": "https://api.github.com/repos/h1alexbel/***/git/blobs{/sha}",
    "branches_url": "https://api.github.com/repos/h1alexbel/***/branches{/branch}",
    "clone_url": "https://github.com/h1alexbel/***.git",
    "collaborators_url": "https://api.github.com/repos/h1alexbel/***/collaborators{/collaborator}",
    "comments_url": "https://api.github.com/repos/h1alexbel/***/comments{/number}",
    "commits_url": "https://api.github.com/repos/h1alexbel/***/commits{/sha}",
    "compare_url": "https://api.github.com/repos/h1alexbel/***/compare/{base}...{head}",
    "contents_url": "https://api.github.com/repos/h1alexbel/***/contents/{+path}",
    "contributors_url": "https://api.github.com/repos/h1alexbel/***/contributors",
    "created_at": "2024-01-12T12:29:39Z",
    "default_branch": "master",
    "deployments_url": "https://api.github.com/repos/h1alexbel/***/deployments",
    "description": "Just a *** repository",
    "disabled": false,
    "downloads_url": "https://api.github.com/repos/h1alexbel/***/downloads",
    "events_url": "https://api.github.com/repos/h1alexbel/***/events",
    "fork": false,
    "forks": 0,
    "forks_count": 0,
    "forks_url": "https://api.github.com/repos/h1alexbel/***/forks",
    "full_name": "h1alexbel/***",
    "git_commits_url": "https://api.github.com/repos/h1alexbel/***/git/commits{/sha}",
    "git_refs_url": "https://api.github.com/repos/h1alexbel/***/git/refs{/sha}",
    "git_tags_url": "https://api.github.com/repos/h1alexbel/***/git/tags{/sha}",
    "git_url": "git://github.com/h1alexbel/***.git",
    "has_discussions": false,
    "has_downloads": true,
    "has_issues": true,
    "has_pages": false,
    "has_projects": true,
    "has_wiki": false,
    "homepage": null,
    "hooks_url": "https://api.github.com/repos/h1alexbel/***/hooks",
    "html_url": "https://github.com/h1alexbel/***",
    "id": 742414605,
    "is_template": false,
    "issue_comment_url": "https://api.github.com/repos/h1alexbel/***/issues/comments{/number}",
    "issue_events_url": "https://api.github.com/repos/h1alexbel/***/issues/events{/number}",
    "issues_url": "https://api.github.com/repos/h1alexbel/***/issues{/number}",
    "keys_url": "https://api.github.com/repos/h1alexbel/***/keys{/key_id}",
    "labels_url": "https://api.github.com/repos/h1alexbel/***/labels{/name}",
    "language": "Java",
    "languages_url": "https://api.github.com/repos/h1alexbel/***/languages",
    "license": {
      "key": "mit",
      "name": "MIT License",
      "node_id": "MDc6TGljZW5zZTEz",
      "spdx_id": "MIT",
      "url": "https://api.github.com/licenses/mit"
    },
    "merges_url": "https://api.github.com/repos/h1alexbel/***/merges",
    "milestones_url": "https://api.github.com/repos/h1alexbel/***/milestones{/number}",
    "mirror_url": null,
    "name": "***",
    "node_id": "R_kgDOLEBZDQ",
    "notifications_url": "https://api.github.com/repos/h1alexbel/***/notifications{?since,all,participating}",
    "open_issues": 657,
    "open_issues_count": 657,
    "owner": {
      "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
      "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
      "followers_url": "https://api.github.com/users/h1alexbel/followers",
      "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
      "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
      "gravatar_id": "",
      "html_url": "https://github.com/h1alexbel",
      "id": 83453843,
      "login": "h1alexbel",
      "node_id": "MDQ6VXNlcjgzNDUzODQz",
      "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
      "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
      "repos_url": "https://api.github.com/users/h1alexbel/repos",
      "site_admin": false,
      "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
      "type": "User",
      "url": "https://api.github.com/users/h1alexbel"
    },
    "private": true,
    "pulls_url": "https://api.github.com/repos/h1alexbel/***/pulls{/number}",
    "pushed_at": "2024-03-28T13:26:28Z",
    "releases_url": "https://api.github.com/repos/h1alexbel/***/releases{/id}",
    "size": 65,
    "ssh_url": "git@github.com:h1alexbel/***.git",
    "stargazers_count": 0,
    "stargazers_url": "https://api.github.com/repos/h1alexbel/***/stargazers",
    "statuses_url": "https://api.github.com/repos/h1alexbel/***/statuses/{sha}",
    "subscribers_url": "https://api.github.com/repos/h1alexbel/***/subscribers",
    "subscription_url": "https://api.github.com/repos/h1alexbel/***/subscription",
    "svn_url": "https://github.com/h1alexbel/***",
    "tags_url": "https://api.github.com/repos/h1alexbel/***/tags",
    "teams_url": "https://api.github.com/repos/h1alexbel/***/teams",
    "topics": [],
    "trees_url": "https://api.github.com/repos/h1alexbel/***/git/trees{/sha}",
    "updated_at": "2024-03-20T15:21:09Z",
    "url": "https://api.github.com/repos/h1alexbel/***",
    "visibility": "private",
    "watchers": 0,
    "watchers_count": 0,
    "web_commit_signoff_required": false
  },
  "review": {
    "_links": {
      "html": {
        "href": "https://github.com/h1alexbel/***/pull/313#pullrequestreview-1971543005"
      },
      "pull_request": {
        "href": "https://api.github.com/repos/h1alexbel/***/pulls/313"
      }
    },
    "author_association": "OWNER",
    "body": "***",
    "commit_id": "6f552423328adccd48b023601260b53d67a493a2",
    "html_url": "https://github.com/h1alexbel/***/pull/313#pullrequestreview-1971543005",
    "id": 1971543005,
    "node_id": "PRR_kwDOLEBZDc51g1vd",
    "pull_request_url": "https://api.github.com/repos/h1alexbel/***/pulls/313",
    "state": "approved",
    "submitted_at": "2024-04-01T15:50:55Z",
    "user": {
      "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
      "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
      "followers_url": "https://api.github.com/users/h1alexbel/followers",
      "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
      "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
      "gravatar_id": "",
      "html_url": "https://github.com/h1alexbel",
      "id": 83453843,
      "login": "h1alexbel",
      "node_id": "MDQ6VXNlcjgzNDUzODQz",
      "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
      "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
      "repos_url": "https://api.github.com/users/h1alexbel/repos",
      "site_admin": false,
      "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
      "type": "User",
      "url": "https://api.github.com/users/h1alexbel"
    }
  },
  "sender": {
    "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
    "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
    "followers_url": "https://api.github.com/users/h1alexbel/followers",
    "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
    "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
    "gravatar_id": "",
    "html_url": "https://github.com/h1alexbel",
    "id": 83453843,
    "login": "h1alexbel",
    "node_id": "MDQ6VXNlcjgzNDUzODQz",
    "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
    "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
    "repos_url": "https://api.github.com/users/h1alexbel/repos",
    "site_admin": false,
    "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
    "type": "User",
    "url": "https://api.github.com/users/h1alexbel"
  }
}

we can parse sender/login to get the approver login