Как настроить триггер для AWS сборки кода при изменении файла для событий запроса на вытягивание? - PullRequest
0 голосов
/ 13 июля 2020

Я могу настроить триггер AWS Codebuild для любого конкретного изменения файла, это происходит только при событиях pu sh через webhook. Можно ли настроить триггер, применив фильтр к измененному / добавленному файлу для события запроса на вытягивание в AWS сборке кода?

для справки найдите последнюю версию веб-перехватчика

{
  "action": "synchronize",
  "number": 10,
  "pull_request": {
    "url": "https://api.github.com/repos/MyRepo/test-poc/pulls/10",
    "id": 446769725,
    "node_id": "MDExOlB1bGxSZXF1ZXN0NDQ2NzY5NzI1",
    "html_url": "https://github.com/MyRepo/test-poc/pull/10",
    "diff_url": "https://github.com/MyRepo/test-poc/pull/10.diff",
    "patch_url": "https://github.com/MyRepo/test-poc/pull/10.patch",
    "issue_url": "https://api.github.com/repos/MyRepo/test-poc/issues/10",
    "number": 10,
    "state": "open",
    "locked": false,
    "title": "Cicd local",
    "user": {
      "login": "sounakchatterjee00",
      "id": 66392307,
      "node_id": "MDQ6VXNlcjY2ODM5MzA0",
      "avatar_url": "https://avatars0.githubusercontent.com/u/66392307?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/sounakchatterjee00",
      "html_url": "https://github.com/sounakchatterjee00",
      "followers_url": "https://api.github.com/users/sounakchatterjee00/followers",
      "following_url": "https://api.github.com/users/sounakchatterjee00/following{/other_user}",
      "gists_url": "https://api.github.com/users/sounakchatterjee00/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/sounakchatterjee00/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/sounakchatterjee00/subscriptions",
      "organizations_url": "https://api.github.com/users/sounakchatterjee00/orgs",
      "repos_url": "https://api.github.com/users/sounakchatterjee00/repos",
      "events_url": "https://api.github.com/users/sounakchatterjee00/events{/privacy}",
      "received_events_url": "https://api.github.com/users/sounakchatterjee00/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "",
    "created_at": "2020-07-09T10:28:12Z",
    "updated_at": "2020-07-09T15:50:52Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "4ec3519243f99d2a22d44e7c6516708c0ad58e71",
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/MyRepo/test-poc/pulls/10/commits",
    "review_comments_url": "https://api.github.com/repos/MyRepo/test-poc/pulls/10/comments",
    "review_comment_url": "https://api.github.com/repos/MyRepo/test-poc/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/MyRepo/test-poc/issues/10/comments",
    "statuses_url": "https://api.github.com/repos/MyRepo/test-poc/statuses/a01b6a462f40a28cad0ac2b3f790611fb1d63587",
    "head": {
      "label": "MyRepo:cicd-local",
      "ref": "cicd-local",
      "sha": "a01b6a462f40a28cad0ac2b3f790611fb1d63587",
      "user": {
        "login": "MyRepo",
        "id": 66390307,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY0Nzc0NjEx",
        "avatar_url": "https://avatars3.githubusercontent.com/u/66390307?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/MyRepo",
        "html_url": "https://github.com/MyRepo",
        "followers_url": "https://api.github.com/users/MyRepo/followers",
        "following_url": "https://api.github.com/users/MyRepo/following{/other_user}",
        "gists_url": "https://api.github.com/users/MyRepo/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/MyRepo/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/MyRepo/subscriptions",
        "organizations_url": "https://api.github.com/users/MyRepo/orgs",
        "repos_url": "https://api.github.com/users/MyRepo/repos",
        "events_url": "https://api.github.com/users/MyRepo/events{/privacy}",
        "received_events_url": "https://api.github.com/users/MyRepo/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 274483154,
        "node_id": "MDEwOlJlcG9zaXRvcnkyNzQ0ODMxNTQ=",
        "name": "test-poc",
        "full_name": "MyRepo/test-poc",
        "private": true,
        "owner": {
          "login": "MyRepo",
          "id": 66390307,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY0Nzc0NjEx",
          "avatar_url": "https://avatars3.githubusercontent.com/u/66390307?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/MyRepo",
          "html_url": "https://github.com/MyRepo",
          "followers_url": "https://api.github.com/users/MyRepo/followers",
          "following_url": "https://api.github.com/users/MyRepo/following{/other_user}",
          "gists_url": "https://api.github.com/users/MyRepo/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/MyRepo/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/MyRepo/subscriptions",
          "organizations_url": "https://api.github.com/users/MyRepo/orgs",
          "repos_url": "https://api.github.com/users/MyRepo/repos",
          "events_url": "https://api.github.com/users/MyRepo/events{/privacy}",
          "received_events_url": "https://api.github.com/users/MyRepo/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/MyRepo/test-poc",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/MyRepo/test-poc",
        "forks_url": "https://api.github.com/repos/MyRepo/test-poc/forks",
        "keys_url": "https://api.github.com/repos/MyRepo/test-poc/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/MyRepo/test-poc/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/MyRepo/test-poc/teams",
        "hooks_url": "https://api.github.com/repos/MyRepo/test-poc/hooks",
        "issue_events_url": "https://api.github.com/repos/MyRepo/test-poc/issues/events{/number}",
        "events_url": "https://api.github.com/repos/MyRepo/test-poc/events",
        "assignees_url": "https://api.github.com/repos/MyRepo/test-poc/assignees{/user}",
        "branches_url": "https://api.github.com/repos/MyRepo/test-poc/branches{/branch}",
        "tags_url": "https://api.github.com/repos/MyRepo/test-poc/tags",
        "blobs_url": "https://api.github.com/repos/MyRepo/test-poc/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/MyRepo/test-poc/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/MyRepo/test-poc/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/MyRepo/test-poc/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/MyRepo/test-poc/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/MyRepo/test-poc/languages",
        "stargazers_url": "https://api.github.com/repos/MyRepo/test-poc/stargazers",
        "contributors_url": "https://api.github.com/repos/MyRepo/test-poc/contributors",
        "subscribers_url": "https://api.github.com/repos/MyRepo/test-poc/subscribers",
        "subscription_url": "https://api.github.com/repos/MyRepo/test-poc/subscription",
        "commits_url": "https://api.github.com/repos/MyRepo/test-poc/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/MyRepo/test-poc/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/MyRepo/test-poc/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/MyRepo/test-poc/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/MyRepo/test-poc/contents/{+path}",
        "compare_url": "https://api.github.com/repos/MyRepo/test-poc/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/MyRepo/test-poc/merges",
        "archive_url": "https://api.github.com/repos/MyRepo/test-poc/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/MyRepo/test-poc/downloads",
        "issues_url": "https://api.github.com/repos/MyRepo/test-poc/issues{/number}",
        "pulls_url": "https://api.github.com/repos/MyRepo/test-poc/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/MyRepo/test-poc/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/MyRepo/test-poc/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/MyRepo/test-poc/labels{/name}",
        "releases_url": "https://api.github.com/repos/MyRepo/test-poc/releases{/id}",
        "deployments_url": "https://api.github.com/repos/MyRepo/test-poc/deployments",
        "created_at": "2020-06-23T18:45:25Z",
        "updated_at": "2020-07-09T06:23:14Z",
        "pushed_at": "2020-07-09T15:50:51Z",
        "git_url": "git://github.com/MyRepo/test-poc.git",
        "ssh_url": "git@github.com:MyRepo/test-poc.git",
        "clone_url": "https://github.com/MyRepo/test-poc.git",
        "svn_url": "https://github.com/MyRepo/test-poc",
        "homepage": null,
        "size": 3977,
        "stargazers_count": 3,
        "watchers_count": 3,
        "language": "CSS",
        "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": 1,
        "license": null,
        "forks": 0,
        "open_issues": 1,
        "watchers": 3,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "delete_branch_on_merge": false
      }
    },
    "base": {
      "label": "MyRepo:cicd",
      "ref": "cicd",
      "sha": "392d7ad287d5a8f4ae0c53705c2b1a02cb32212f",
      "user": {
        "login": "MyRepo",
        "id": 66390307,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY0Nzc0NjEx",
        "avatar_url": "https://avatars3.githubusercontent.com/u/66390307?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/MyRepo",
        "html_url": "https://github.com/MyRepo",
        "followers_url": "https://api.github.com/users/MyRepo/followers",
        "following_url": "https://api.github.com/users/MyRepo/following{/other_user}",
        "gists_url": "https://api.github.com/users/MyRepo/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/MyRepo/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/MyRepo/subscriptions",
        "organizations_url": "https://api.github.com/users/MyRepo/orgs",
        "repos_url": "https://api.github.com/users/MyRepo/repos",
        "events_url": "https://api.github.com/users/MyRepo/events{/privacy}",
        "received_events_url": "https://api.github.com/users/MyRepo/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 274483154,
        "node_id": "MDEwOlJlcG9zaXRvcnkyNzQ0ODMxNTQ=",
        "name": "test-poc",
        "full_name": "MyRepo/test-poc",
        "private": true,
        "owner": {
          "login": "MyRepo",
          "id": 66390307,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY0Nzc0NjEx",
          "avatar_url": "https://avatars3.githubusercontent.com/u/66390307?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/MyRepo",
          "html_url": "https://github.com/MyRepo",
          "followers_url": "https://api.github.com/users/MyRepo/followers",
          "following_url": "https://api.github.com/users/MyRepo/following{/other_user}",
          "gists_url": "https://api.github.com/users/MyRepo/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/MyRepo/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/MyRepo/subscriptions",
          "organizations_url": "https://api.github.com/users/MyRepo/orgs",
          "repos_url": "https://api.github.com/users/MyRepo/repos",
          "events_url": "https://api.github.com/users/MyRepo/events{/privacy}",
          "received_events_url": "https://api.github.com/users/MyRepo/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/MyRepo/test-poc",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/MyRepo/test-poc",
        "forks_url": "https://api.github.com/repos/MyRepo/test-poc/forks",
        "keys_url": "https://api.github.com/repos/MyRepo/test-poc/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/MyRepo/test-poc/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/MyRepo/test-poc/teams",
        "hooks_url": "https://api.github.com/repos/MyRepo/test-poc/hooks",
        "issue_events_url": "https://api.github.com/repos/MyRepo/test-poc/issues/events{/number}",
        "events_url": "https://api.github.com/repos/MyRepo/test-poc/events",
        "assignees_url": "https://api.github.com/repos/MyRepo/test-poc/assignees{/user}",
        "branches_url": "https://api.github.com/repos/MyRepo/test-poc/branches{/branch}",
        "tags_url": "https://api.github.com/repos/MyRepo/test-poc/tags",
        "blobs_url": "https://api.github.com/repos/MyRepo/test-poc/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/MyRepo/test-poc/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/MyRepo/test-poc/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/MyRepo/test-poc/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/MyRepo/test-poc/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/MyRepo/test-poc/languages",
        "stargazers_url": "https://api.github.com/repos/MyRepo/test-poc/stargazers",
        "contributors_url": "https://api.github.com/repos/MyRepo/test-poc/contributors",
        "subscribers_url": "https://api.github.com/repos/MyRepo/test-poc/subscribers",
        "subscription_url": "https://api.github.com/repos/MyRepo/test-poc/subscription",
        "commits_url": "https://api.github.com/repos/MyRepo/test-poc/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/MyRepo/test-poc/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/MyRepo/test-poc/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/MyRepo/test-poc/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/MyRepo/test-poc/contents/{+path}",
        "compare_url": "https://api.github.com/repos/MyRepo/test-poc/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/MyRepo/test-poc/merges",
        "archive_url": "https://api.github.com/repos/MyRepo/test-poc/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/MyRepo/test-poc/downloads",
        "issues_url": "https://api.github.com/repos/MyRepo/test-poc/issues{/number}",
        "pulls_url": "https://api.github.com/repos/MyRepo/test-poc/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/MyRepo/test-poc/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/MyRepo/test-poc/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/MyRepo/test-poc/labels{/name}",
        "releases_url": "https://api.github.com/repos/MyRepo/test-poc/releases{/id}",
        "deployments_url": "https://api.github.com/repos/MyRepo/test-poc/deployments",
        "created_at": "2020-06-23T18:45:25Z",
        "updated_at": "2020-07-09T06:23:14Z",
        "pushed_at": "2020-07-09T15:50:51Z",
        "git_url": "git://github.com/MyRepo/test-poc.git",
        "ssh_url": "git@github.com:MyRepo/test-poc.git",
        "clone_url": "https://github.com/MyRepo/test-poc.git",
        "svn_url": "https://github.com/MyRepo/test-poc",
        "homepage": null,
        "size": 3977,
        "stargazers_count": 3,
        "watchers_count": 3,
        "language": "CSS",
        "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": 1,
        "license": null,
        "forks": 0,
        "open_issues": 1,
        "watchers": 3,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "delete_branch_on_merge": false
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/pulls/10"
      },
      "html": {
        "href": "https://github.com/MyRepo/test-poc/pull/10"
      },
      "issue": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/issues/10"
      },
      "comments": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/issues/10/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/pulls/10/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/pulls/10/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/MyRepo/test-poc/statuses/a01b6a462f40a28cad0ac2b3f790611fb1d63587"
      }
    },
    "author_association": "CONTRIBUTOR",
    "active_lock_reason": null,
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": false,
    "commits": 9,
    "additions": 7,
    "deletions": 1913,
    "changed_files": 17
  },
  "before": "c0a6b67047d58ef4f4e4870fad0a4380281d0375",
  "after": "a01b6a462f40a28cad0ac2b3f790611fb1d63587",
  "repository": {
    "id": 274483154,
    "node_id": "MDEwOlJlcG9zaXRvcnkyNzQ0ODMxNTQ=",
    "name": "test-poc",
    "full_name": "MyRepo/test-poc",
    "private": true,
    "owner": {
      "login": "MyRepo",
      "id": 66390307,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY0Nzc0NjEx",
      "avatar_url": "https://avatars3.githubusercontent.com/u/66390307?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/MyRepo",
      "html_url": "https://github.com/MyRepo",
      "followers_url": "https://api.github.com/users/MyRepo/followers",
      "following_url": "https://api.github.com/users/MyRepo/following{/other_user}",
      "gists_url": "https://api.github.com/users/MyRepo/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/MyRepo/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/MyRepo/subscriptions",
      "organizations_url": "https://api.github.com/users/MyRepo/orgs",
      "repos_url": "https://api.github.com/users/MyRepo/repos",
      "events_url": "https://api.github.com/users/MyRepo/events{/privacy}",
      "received_events_url": "https://api.github.com/users/MyRepo/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/MyRepo/test-poc",
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/MyRepo/test-poc",
    "forks_url": "https://api.github.com/repos/MyRepo/test-poc/forks",
    "keys_url": "https://api.github.com/repos/MyRepo/test-poc/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/MyRepo/test-poc/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/MyRepo/test-poc/teams",
    "hooks_url": "https://api.github.com/repos/MyRepo/test-poc/hooks",
    "issue_events_url": "https://api.github.com/repos/MyRepo/test-poc/issues/events{/number}",
    "events_url": "https://api.github.com/repos/MyRepo/test-poc/events",
    "assignees_url": "https://api.github.com/repos/MyRepo/test-poc/assignees{/user}",
    "branches_url": "https://api.github.com/repos/MyRepo/test-poc/branches{/branch}",
    "tags_url": "https://api.github.com/repos/MyRepo/test-poc/tags",
    "blobs_url": "https://api.github.com/repos/MyRepo/test-poc/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/MyRepo/test-poc/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/MyRepo/test-poc/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/MyRepo/test-poc/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/MyRepo/test-poc/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/MyRepo/test-poc/languages",
    "stargazers_url": "https://api.github.com/repos/MyRepo/test-poc/stargazers",
    "contributors_url": "https://api.github.com/repos/MyRepo/test-poc/contributors",
    "subscribers_url": "https://api.github.com/repos/MyRepo/test-poc/subscribers",
    "subscription_url": "https://api.github.com/repos/MyRepo/test-poc/subscription",
    "commits_url": "https://api.github.com/repos/MyRepo/test-poc/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/MyRepo/test-poc/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/MyRepo/test-poc/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/MyRepo/test-poc/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/MyRepo/test-poc/contents/{+path}",
    "compare_url": "https://api.github.com/repos/MyRepo/test-poc/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/MyRepo/test-poc/merges",
    "archive_url": "https://api.github.com/repos/MyRepo/test-poc/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/MyRepo/test-poc/downloads",
    "issues_url": "https://api.github.com/repos/MyRepo/test-poc/issues{/number}",
    "pulls_url": "https://api.github.com/repos/MyRepo/test-poc/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/MyRepo/test-poc/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/MyRepo/test-poc/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/MyRepo/test-poc/labels{/name}",
    "releases_url": "https://api.github.com/repos/MyRepo/test-poc/releases{/id}",
    "deployments_url": "https://api.github.com/repos/MyRepo/test-poc/deployments",
    "created_at": "2020-06-23T18:45:25Z",
    "updated_at": "2020-07-09T06:23:14Z",
    "pushed_at": "2020-07-09T15:50:51Z",
    "git_url": "git://github.com/MyRepo/test-poc.git",
    "ssh_url": "git@github.com:MyRepo/test-poc.git",
    "clone_url": "https://github.com/MyRepo/test-poc.git",
    "svn_url": "https://github.com/MyRepo/test-poc",
    "homepage": null,
    "size": 3977,
    "stargazers_count": 3,
    "watchers_count": 3,
    "language": "CSS",
    "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": 1,
    "license": null,
    "forks": 0,
    "open_issues": 1,
    "watchers": 3,
    "default_branch": "master"
  },
  "organization": {
    "login": "MyRepo",
    "id": 66390307,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY0Nzc0NjEx",
    "url": "https://api.github.com/orgs/MyRepo",
    "repos_url": "https://api.github.com/orgs/MyRepo/repos",
    "events_url": "https://api.github.com/orgs/MyRepo/events",
    "hooks_url": "https://api.github.com/orgs/MyRepo/hooks",
    "issues_url": "https://api.github.com/orgs/MyRepo/issues",
    "members_url": "https://api.github.com/orgs/MyRepo/members{/member}",
    "public_members_url": "https://api.github.com/orgs/MyRepo/public_members{/member}",
    "avatar_url": "https://avatars3.githubusercontent.com/u/66390307?v=4",
    "description": null
  },
  "sender": {
    "login": "sounakchatterjee00",
    "id": 66392307,
    "node_id": "MDQ6VXNlcjY2ODM5MzA0",
    "avatar_url": "https://avatars0.githubusercontent.com/u/66392307?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/sounakchatterjee00",
    "html_url": "https://github.com/sounakchatterjee00",
    "followers_url": "https://api.github.com/users/sounakchatterjee00/followers",
    "following_url": "https://api.github.com/users/sounakchatterjee00/following{/other_user}",
    "gists_url": "https://api.github.com/users/sounakchatterjee00/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/sounakchatterjee00/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/sounakchatterjee00/subscriptions",
    "organizations_url": "https://api.github.com/users/sounakchatterjee00/orgs",
    "repos_url": "https://api.github.com/users/sounakchatterjee00/repos",
    "events_url": "https://api.github.com/users/sounakchatterjee00/events{/privacy}",
    "received_events_url": "https://api.github.com/users/sounakchatterjee00/received_events",
    "type": "User",
    "site_admin": false
  }
}
...