multi-gitter: multi-gitter unable to run against returned repos when using github app installation token

Describe the bug When using a github app installation token with multi-gitter, all repos can be listed, but multi-gitter doesn’t run against them. Using the same token, I am able to create pull requests using curl. The issue appears to be specific to multi-gitter, I wonder if parsing the repositories is the problem?

response with multi-gitter { 2022-01-27T07:00:15.0920886Z "host": "api.github.com", 2022-01-27T07:00:15.0921276Z "level": "trace", 2022-01-27T07:00:15.0921608Z "msg": "http request", 2022-01-27T07:00:15.0923119Z "request": "GET /orgs/xxxx/repos?page=1\u0026per_page=100 HTTP/1.1\r\nHost: api.github.com\r\nUser-Agent: go-github\r\nAccept: application/vnd.github.mercy-preview+json, application/vnd.github.nebula-preview+json\r\nAuthorization: Basic \u003cCENSORED\u003e\nAccept-Encoding: gzip\r\n\r\n", 2022-01-27T07:00:15.2640493Z "response": "HTTP/2.0 200 OK\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset\r\nCache-Control: private, max-age=60, s-maxage=60\r\nContent-Security-Policy: default-src 'none'\r\nContent-Type: application/json; charset=utf-8\r\nDate: Thu, 27 Jan 2022 07:00:15 GMT\r\nEtag: W/\"122717a36610aa3b6881db1871bc5285493eea207663614e64af2d6e83c4dfa8\"\r\nLink: \u003chttps://api.github.com/organizations/1874256/repos?page=2\u0026per_page=100\u003e; rel=\"next\", \u003chttps://api.github.com/organizations/1874256/repos?page=5\u0026per_page=100\u003e; rel=\"last\"\r\nReferrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin\r\nServer: GitHub.com\r\nStrict-Transport-Security: max-age=31536000; includeSubdomains; preload\r\nVary: Accept, Authorization, Cookie, X-GitHub-OTP\r\nVary: Accept-Encoding, Accept, X-Requested-With\r\nX-Content-Type-Options: nosniff\r\nX-Frame-Options: deny\r\nX-Github-Media-Type: github.mercy-preview; param=nebula-preview; format=json\r\nX-Github-Request-Id: 0740:7B0E:5B2CF6:C2FED9:61F242FD\r\nX-Ratelimit-Limit: 15000\r\nX-Ratelimit-Remaining: 14914\r\nX-Ratelimit-Reset: 1643267605\r\nX-Ratelimit-Resource: core\r\nX-Ratelimit-Used: 86\r\nX-Xss-Protection: 0\r\n\r\n[{\"id\":4307171,\"node_id\":\"MDEwOlJlcG9zaXRvcnk0MzA3MTcx\",\"name\":\"repo-xxxx\",\"full_name\":\"xxxx/repo-xxxx\",\"private\":false,\"owner\":{\"login\":\"xxxx\",\"id\":1874256,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjE4NzQyNTY=\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/1874256?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/xxxx\",\"html_url\":\"https://github.com/xxxx\",\"followers_url\":\"https://api.github.com/users/xxxx/followers\",\"following_url\":\"https://api.github.com/users/xxxx/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/xxxx/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/xxxx/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/xxxx/subscriptions\",\"organizations_url\":\"https://api.github.com/users/xxxx/orgs\",\"repos_url\":\"https://api.github.com/users/xxxx/repos\",\"events_url\":\"https://api.github.com/users/xxxx/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/xxxx/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"html_url\":\"https://github.com/xxxx/repo-xxxx\",\"description\":\"xxxx\",\"fork\":false,\"url\":\"https://api.github.com/repos/xxxx/repo-xxxx\",\"forks_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/forks\",\"keys_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/keys{/key_id}\",\"collaborators_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/collaborators{/collaborator}\",\"teams_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/teams\",\"hooks_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/hooks\",\"issue_events_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/issues/events{/number}\",\"events_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/events\",\"assignees_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/assignees{/user}\",\"branches_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/branches{/branch}\",\"tags_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/tags\",\"blobs_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/git/blobs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/git/tags{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/git/refs{/sha}\",\"trees_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/git/trees{/sha}\",\"statuses_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/statuses/{sha}\",\"languages_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/languages\",\"stargazers_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/stargazers\",\"contributors_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/contributors\",\"subscribers_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/subscribers\",\"subscription_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/subscription\",\"commits_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/commits{/sha}\",\"git_commits_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/git/commits{/sha}\",\"comments_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/comments{/number}\",\"issue_comment_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/issues/comments{/number}\",\"contents_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/contents/{+path}\",\"compare_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/compare/{base}...{head}\",\"merges_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/merges\",\"archive_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/{archive_format}{/ref}\",\"downloads_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/downloads\",\"issues_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/issues{/number}\",\"pulls_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/pulls{/number}\",\"milestones_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/notifications{?since,all,participating}\",\"labels_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/labels{/name}\",\"releases_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/releases{/id}\",\"deployments_url\":\"https://api.github.com/repos/xxxx/repo-xxxx/deployments\",\"created_at\":\"2012-05-12T14:47:15Z\",\"updated_at\":\"2021-06-14T02:46:19Z\",\"pushed_at\":\"2021-12-12T11:43:20Z\",\"git_url\":\"git://github.com/xxxx/repo-xxxx.git\",\"ssh_url\":\"git@github.com:xxxx/repo-xxxx.git\",\"clone_url\":\"https://github.com/xxxx/repo-xxxx.git\",\"svn_url\":\"https://github.com/xxxx/repo-xxxx\",\"homepage\":null,\"size\":147,\"stargazers_count\":85,\"watchers_count\":85,\"language\":\"Ruby\",\"has_issues\":true,\"has_projects\":true,\"has_downloads\":true,\"has_wiki\":false,\"has_pages\":false,\"forks_count\":68,\"mirror_url\":null,\"archived\":false,\"disabled\":false,\"open_issues_count\":6,\"license\":null,\"allow_forking\":true,\"is_template\":false,\"topics\":[],\"visibility\":\"public\",\"forks\":68,\"open_issues\":6,\"watchers\":85,\"default_branch\":\"master\",\"permissions\":{\"admin\":false,\"maintain\":false,\"push\":false,\"triage\":false,\"pull\":false}}, 2022-01-27T15:49:36.0650855Z { 2022-01-27T15:49:36.0651395Z "level": "info", 2022-01-27T15:49:36.0652074Z "msg": "Running on 0 repositories", 2022-01-27T15:49:36.0653241Z "time": "2022-01-27T15:49:36Z" 2022-01-27T15:49:36.0660835Z }

Running a curl command with the exact same token given to multi-gitter works successfully

Run curl -u :*** -d '{"title":"testPR","base":"main", "head":"test-pr"}' https://api.github.com/repos/xxxx/xxxx/pulls

{
    "url": "https://api.github.com/repos/xxxx/xxxx/pulls/119",
    "id": 833163921,
    "node_id": "PR_kwDOF-zsSs4xqRKR",
    "html_url": "https://github.com/xxxx/xxxx/pull/119",
    "diff_url": "https://github.com/xxxx/xxxx/pull/119.diff",
    "patch_url": "https://github.com/xxxx/xxxx/pull/119.patch",
    "issue_url": "https://api.github.com/repos/xxxx/xxxx/issues/119",
    "number": 119,
    "state": "open",
    "locked": false,
    "title": "testPR",
    "user": {
      "login": "xxxx[bot]",
      "id": 93331094,
      "node_id": "BOT_kgDOBZAelg",
      "avatar_url": "https://avatars.githubusercontent.com/u/1874256?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/xxxx%5Bbot%5D",
      "html_url": "https://github.com/apps/xxxx",
      "followers_url": "https://api.github.com/users/xxxx%5Bbot%5D/followers",
      "following_url": "https://api.github.com/users/xxxx%5Bbot%5D/following{/other_user}",
      "gists_url": "https://api.github.com/users/xxxx%5Bbot%5D/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/xxxx%5Bbot%5D/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/xxxx%5Bbot%5D/subscriptions",
      "organizations_url": "https://api.github.com/users/xxxx%5Bbot%5D/orgs",
      "repos_url": "https://api.github.com/users/xxxx%5Bbot%5D/repos",
      "events_url": "https://api.github.com/users/xxxx%5Bbot%5D/events{/privacy}",
      "received_events_url": "https://api.github.com/users/xxxx%5Bbot%5D/received_events",
      "type": "Bot",
      "site_admin": false
    },
    "body": null,
    "created_at": "2022-01-27T08:29:13Z",
    "updated_at": "2022-01-27T08:29:13Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [
  
    ],
    "requested_reviewers": [
  
    ],
    "requested_teams": [
      {
        "name": "xxxx",
        "id": 5003304,
        "node_id": "T_kwDOAByZUM4ATFgo",
        "slug": "xxxx",
        "description": "",
        "privacy": "closed",
        "url": "https://api.github.com/organizations/1874256/team/5003304",
        "html_url": "https://github.com/orgs/xxxx/teams/xxxx",
        "members_url": "https://api.github.com/organizations/1874256/team/5003304/members{/member}",
        "repositories_url": "https://api.github.com/organizations/1874256/team/5003304/repos",
        "permission": "pull",
        "parent": null
      }
    ],
    "labels": [
  
    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/xxxx/xxxx/pulls/119/commits",
    "review_comments_url": "https://api.github.com/repos/xxxx/xxxx/pulls/119/comments",
    "review_comment_url": "https://api.github.com/repos/xxxx/xxxx/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/xxxx/xxxx/issues/119/comments",
    "statuses_url": "https://api.github.com/repos/xxxx/xxxx/statuses/0b850dbb4f98bd4f6f68d2f595f8fe15752a72c0",
    "head": {
      "label": "xxxx:xxxx",
      "ref": "xxxx",
      "sha": "0b850dbb4f98bd4f6f68d2f595f8fe15752a72c0",
      "user": {
        "login": "xxxx",
        "id": 1874256,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4NzQyNTY=",
        "avatar_url": "https://avatars.githubusercontent.com/u/1874256?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/xxxx",
        "html_url": "https://github.com/xxxx",
        "followers_url": "https://api.github.com/users/xxxx/followers",
        "following_url": "https://api.github.com/users/xxxx/following{/other_user}",
        "gists_url": "https://api.github.com/users/xxxx/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/xxxx/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/xxxx/subscriptions",
        "organizations_url": "https://api.github.com/users/xxxx/orgs",
        "repos_url": "https://api.github.com/users/xxxx/repos",
        "events_url": "https://api.github.com/users/xxxx/events{/privacy}",
        "received_events_url": "https://api.github.com/users/xxxx/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 401402954,
        "node_id": "MDEwOlJlcG9zaXRvcnk0MDE0MDI5NTQ=",
        "name": "xxxx",
        "full_name": "xxxx/xxxx",
        "private": true,
        "owner": {
          "login": "xxxx",
          "id": 1874256,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4NzQyNTY=",
          "avatar_url": "https://avatars.githubusercontent.com/u/1874256?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/xxxx",
          "html_url": "https://github.com/xxxx",
          "followers_url": "https://api.github.com/users/xxxx/followers",
          "following_url": "https://api.github.com/users/xxxx/following{/other_user}",
          "gists_url": "https://api.github.com/users/xxxx/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/xxxx/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/xxxx/subscriptions",
          "organizations_url": "https://api.github.com/users/xxxx/orgs",
          "repos_url": "https://api.github.com/users/xxxx/repos",
          "events_url": "https://api.github.com/users/xxxx/events{/privacy}",
          "received_events_url": "https://api.github.com/users/xxxx/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/xxxx/xxxx",
        "description": "xxxx",
        "fork": false,
        "url": "https://api.github.com/repos/xxxx/xxxx",
        "forks_url": "https://api.github.com/repos/xxxx/xxxx/forks",
        "keys_url": "https://api.github.com/repos/xxxx/xxxx/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/xxxx/xxxx/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/xxxx/xxxx/teams",
        "hooks_url": "https://api.github.com/repos/xxxx/xxxx/hooks",
        "issue_events_url": "https://api.github.com/repos/xxxx/xxxx/issues/events{/number}",
        "events_url": "https://api.github.com/repos/xxxx/xxxx/events",
        "assignees_url": "https://api.github.com/repos/xxxx/xxxx/assignees{/user}",
        "branches_url": "https://api.github.com/repos/xxxx/xxxx/branches{/branch}",
        "tags_url": "https://api.github.com/repos/xxxx/xxxx/tags",
        "blobs_url": "https://api.github.com/repos/xxxx/xxxx/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/xxxx/xxxx/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/xxxx/xxxx/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/xxxx/xxxx/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/xxxx/xxxx/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/xxxx/xxxx/languages",
        "stargazers_url": "https://api.github.com/repos/xxxx/xxxx/stargazers",
        "contributors_url": "https://api.github.com/repos/xxxx/xxxx/contributors",
        "subscribers_url": "https://api.github.com/repos/xxxx/xxxx/subscribers",
        "subscription_url": "https://api.github.com/repos/xxxx/xxxx/subscription",
        "commits_url": "https://api.github.com/repos/xxxx/xxxx/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/xxxx/xxxx/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/xxxx/xxxx/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/xxxx/xxxx/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/xxxx/xxxx/contents/{+path}",
        "compare_url": "https://api.github.com/repos/xxxx/xxxx/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/xxxx/xxxx/merges",
        "archive_url": "https://api.github.com/repos/xxxx/xxxx/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/xxxx/xxxx/downloads",
        "issues_url": "https://api.github.com/repos/xxxx/xxxx/issues{/number}",
        "pulls_url": "https://api.github.com/repos/xxxx/xxxx/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/xxxx/xxxx/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/xxxx/xxxx/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/xxxx/xxxx/labels{/name}",
        "releases_url": "https://api.github.com/repos/xxxx/xxxx/releases{/id}",
        "deployments_url": "https://api.github.com/repos/xxxx/xxxx/deployments",
        "created_at": "2021-08-30T15:58:05Z",
        "updated_at": "2022-01-06T21:20:03Z",
        "pushed_at": "2022-01-27T08:28:16Z",
        "git_url": "git://github.com/xxxx/xxxx.git",
        "ssh_url": "git@github.com:xxxx/xxxx.git",
        "clone_url": "https://github.com/xxxx/xxxx.git",
        "svn_url": "https://github.com/xxxx/xxxx",
        "homepage": "",
        "size": 37501,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Python",
        "has_issues": false,
        "has_projects": false,
        "has_downloads": false,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 4,
        "license": null,
        "allow_forking": true,
        "is_template": false,
        "topics": [
  
        ],
        "visibility": "internal",
        "forks": 0,
        "open_issues": 4,
        "watchers": 0,
        "default_branch": "main"
      }
    },
    "base": {
      "label": "xxxx:main",
      "ref": "main",
      "sha": "f38a4b8bb8a1ee8a72e045fb94f73ca009b5bff7",
      "user": {
        "login": "xxxx",
        "id": 1874256,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4NzQyNTY=",
        "avatar_url": "https://avatars.githubusercontent.com/u/1874256?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/xxxx",
        "html_url": "https://github.com/xxxx",
        "followers_url": "https://api.github.com/users/xxxx/followers",
        "following_url": "https://api.github.com/users/xxxx/following{/other_user}",
        "gists_url": "https://api.github.com/users/xxxx/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/xxxx/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/xxxx/subscriptions",
        "organizations_url": "https://api.github.com/users/xxxx/orgs",
        "repos_url": "https://api.github.com/users/xxxx/repos",
        "events_url": "https://api.github.com/users/xxxx/events{/privacy}",
        "received_events_url": "https://api.github.com/users/xxxx/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 401402954,
        "node_id": "MDEwOlJlcG9zaXRvcnk0MDE0MDI5NTQ=",
        "name": "xxxx",
        "full_name": "xxxx/xxxx",
        "private": true,
        "owner": {
          "login": "xxxx",
          "id": 1874256,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4NzQyNTY=",
          "avatar_url": "https://avatars.githubusercontent.com/u/1874256?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/xxxx",
          "html_url": "https://github.com/xxxx",
          "followers_url": "https://api.github.com/users/xxxx/followers",
          "following_url": "https://api.github.com/users/xxxx/following{/other_user}",
          "gists_url": "https://api.github.com/users/xxxx/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/xxxx/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/xxxx/subscriptions",
          "organizations_url": "https://api.github.com/users/xxxx/orgs",
          "repos_url": "https://api.github.com/users/xxxx/repos",
          "events_url": "https://api.github.com/users/xxxx/events{/privacy}",
          "received_events_url": "https://api.github.com/users/xxxx/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/xxxx/xxxx",
        "description": "xxxx",
        "fork": false,
        "url": "https://api.github.com/repos/xxxx/xxxx",
        "forks_url": "https://api.github.com/repos/xxxx/xxxx/forks",
        "keys_url": "https://api.github.com/repos/xxxx/xxxx/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/xxxx/xxxx/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/xxxx/xxxx/teams",
        "hooks_url": "https://api.github.com/repos/xxxx/xxxx/hooks",
        "issue_events_url": "https://api.github.com/repos/xxxx/xxxx/issues/events{/number}",
        "events_url": "https://api.github.com/repos/xxxx/xxxx/events",
        "assignees_url": "https://api.github.com/repos/xxxx/xxxx/assignees{/user}",
        "branches_url": "https://api.github.com/repos/xxxx/xxxx/branches{/branch}",
        "tags_url": "https://api.github.com/repos/xxxx/xxxx/tags",
        "blobs_url": "https://api.github.com/repos/xxxx/xxxx/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/xxxx/xxxx/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/xxxx/xxxx/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/xxxx/xxxx/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/xxxx/xxxx/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/xxxx/xxxx/languages",
        "stargazers_url": "https://api.github.com/repos/xxxx/xxxx/stargazers",
        "contributors_url": "https://api.github.com/repos/xxxx/xxxx/contributors",
        "subscribers_url": "https://api.github.com/repos/xxxx/xxxx/subscribers",
        "subscription_url": "https://api.github.com/repos/xxxx/xxxx/subscription",
        "commits_url": "https://api.github.com/repos/xxxx/xxxx/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/xxxx/xxxx/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/xxxx/xxxx/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/xxxx/xxxx/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/xxxx/xxxx/contents/{+path}",
        "compare_url": "https://api.github.com/repos/xxxx/xxxx/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/xxxx/xxxx/merges",
        "archive_url": "https://api.github.com/repos/xxxx/xxxx/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/xxxx/xxxx/downloads",
        "issues_url": "https://api.github.com/repos/xxxx/xxxx/issues{/number}",
        "pulls_url": "https://api.github.com/repos/xxxx/xxxx/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/xxxx/xxxx/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/xxxx/xxxx/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/xxxx/xxxx/labels{/name}",
        "releases_url": "https://api.github.com/repos/xxxx/xxxx/releases{/id}",
        "deployments_url": "https://api.github.com/repos/xxxx/xxxx/deployments",
        "created_at": "2021-08-30T15:58:05Z",
        "updated_at": "2022-01-06T21:20:03Z",
        "pushed_at": "2022-01-27T08:28:16Z",
        "git_url": "git://github.com/xxxx/xxxx.git",
        "ssh_url": "git@github.com:xxxx/xxxx.git",
        "clone_url": "https://github.com/xxxx/xxxx.git",
        "svn_url": "https://github.com/xxxx/xxxx",
        "homepage": "",
        "size": 37501,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Python",
        "has_issues": false,
        "has_projects": false,
        "has_downloads": false,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 4,
        "license": null,
        "allow_forking": true,
        "is_template": false,
        "topics": [
  
        ],
        "visibility": "internal",
        "forks": 0,
        "open_issues": 4,
        "watchers": 0,
        "default_branch": "main"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/xxxx/xxxx/pulls/119"
      },
      "html": {
        "href": "https://github.com/xxxx/xxxx/pull/119"
      },
      "issue": {
        "href": "https://api.github.com/repos/xxxx/xxxx/issues/119"
      },
      "comments": {
        "href": "https://api.github.com/repos/xxxx/xxxx/issues/119/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/xxxx/xxxx/pulls/119/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/xxxx/xxxx/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/xxxx/xxxx/pulls/119/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/xxxx/xxxx/statuses/0b850dbb4f98bd4f6f68d2f595f8fe15752a72c0"
      }
    },
    "author_association": "NONE",
    "auto_merge": null,
    "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": 1,
    "additions": 17,
    "deletions": 0,
    "changed_files": 1
  }

Expected behavior multi-gitter includes an option(or just accepts) to use a github app installation token and runs against repos it finds.

This is related to https://github.com/lindell/multi-gitter/issues/223

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 30 (16 by maintainers)

Most upvoted comments

Included in release v0.44.2 🎉

@joel-mccoy-arcticwolf Thanks for reaching out to GH support. Is still think this part is strange since it’s returned for all token types.

But it sounds like if the permission part of the response is intended to only be filled out for PATs

But with the confirmation that this “works as intended”, a fix in multi-gitter should be implemented. I will take a look when I have the time.

When authorizing through oauth now, I get the permissions through the API working as expected. Can you, @mspiegel31, please verify your steps, and what the API gives you back.

image

@mspiegel31 Please open an issue with GitHub stating the (assumed) bug.

That even if the token has pull and push permissions, the API will still return:

    "permissions": {
      "admin": false,
      "maintain": false,
      "push": false,
      "triage": false,
      "pull": false
    }

I have not yet reverified that this is still the case as of today, so please do that first.