Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle / warn about API rate limits? #1018

Open
mikeroll opened this issue Jan 16, 2022 · 8 comments
Open

Handle / warn about API rate limits? #1018

mikeroll opened this issue Jan 16, 2022 · 8 comments

Comments

@mikeroll
Copy link
Contributor

mikeroll commented Jan 16, 2022

So I tried adding release-drafter to an existing repository with over ~36k commits and not a single tag or release and that didn't go that well. Apparently it tried to fetch all of those ~36k commits via the GraphQL API, hit the limits and failed.

First run
2022-01-16T18:35:27.4967037Z Found online and idle hosted runner in the current repository's organization account that matches the required labels: 'ubuntu-latest'
2022-01-16T18:35:27.6362256Z Waiting for a Hosted runner in the 'organization' to pick this job...
2022-01-16T18:35:27.8236039Z Job is waiting for a hosted runner to come online.
2022-01-16T18:35:31.3002012Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2022-01-16T18:35:35.4077908Z Current runner version: '2.286.0'
2022-01-16T18:35:35.4104427Z ##[group]Operating System
2022-01-16T18:35:35.4104866Z Ubuntu
2022-01-16T18:35:35.4105181Z 20.04.3
2022-01-16T18:35:35.4105507Z LTS
2022-01-16T18:35:35.4105799Z ##[endgroup]
2022-01-16T18:35:35.4106103Z ##[group]Virtual Environment
2022-01-16T18:35:35.4106485Z Environment: ubuntu-20.04
2022-01-16T18:35:35.4106821Z Version: 20220111.1
2022-01-16T18:35:35.4107331Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220111.1/images/linux/Ubuntu2004-Readme.md
2022-01-16T18:35:35.4107994Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220111.1
2022-01-16T18:35:35.4108404Z ##[endgroup]
2022-01-16T18:35:35.4108756Z ##[group]Virtual Environment Provisioner
2022-01-16T18:35:35.4109119Z 1.0.0.0-main-20211214-1
2022-01-16T18:35:35.4109412Z ##[endgroup]
2022-01-16T18:35:35.4110413Z ##[group]GITHUB_TOKEN Permissions
2022-01-16T18:35:35.4111028Z Actions: write
2022-01-16T18:35:35.4111448Z Checks: write
2022-01-16T18:35:35.4111845Z Contents: write
2022-01-16T18:35:35.4112167Z Deployments: write
2022-01-16T18:35:35.4112501Z Discussions: write
2022-01-16T18:35:35.4112768Z Issues: write
2022-01-16T18:35:35.4113083Z Metadata: read
2022-01-16T18:35:35.4113360Z Packages: write
2022-01-16T18:35:35.4113668Z Pages: write
2022-01-16T18:35:35.4113980Z PullRequests: write
2022-01-16T18:35:35.4114287Z RepositoryProjects: write
2022-01-16T18:35:35.4114675Z SecurityEvents: write
2022-01-16T18:35:35.4114956Z Statuses: write
2022-01-16T18:35:35.4115270Z ##[endgroup]
2022-01-16T18:35:35.4118691Z Secret source: Actions
2022-01-16T18:35:35.4119222Z Prepare workflow directory
2022-01-16T18:35:35.4966862Z Prepare all required actions
2022-01-16T18:35:35.5149456Z Getting action download info
2022-01-16T18:35:35.6986758Z Download action repository 'release-drafter/release-drafter@v5' (SHA:0bc3bc59906b1dac1b608cc7ff5441fcb86ad6c9)
2022-01-16T18:35:36.3152728Z ##[group]Run release-drafter/release-drafter@v5
2022-01-16T18:35:36.3153097Z with:
2022-01-16T18:35:36.3153376Z   config-name: release-drafter.yml
2022-01-16T18:35:36.3153649Z env:
2022-01-16T18:35:36.3154150Z   GITHUB_TOKEN: ***
2022-01-16T18:35:36.3154399Z ##[endgroup]
2022-01-16T18:35:38.4081397Z "pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:35:38.4084600Z "pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:35:38.4085240Z "pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:35:38.4085854Z "pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:35:38.7914196Z org/repo: Found 0 releases
2022-01-16T18:35:38.7915307Z { name: 'event', id: '1704976656' }
2022-01-16T18:35:38.7916466Z org/repo: No draft release found
2022-01-16T18:35:38.7917459Z { name: 'event', id: '1704976656' }
2022-01-16T18:35:38.7918412Z org/repo: No last release found
2022-01-16T18:35:38.7919034Z { name: 'event', id: '1704976656' }
2022-01-16T18:35:38.7920126Z org/repo: Fetching all commits for reference refs/heads/master
2022-01-16T18:35:38.7920821Z { name: 'event', id: '1704976656' }
2022-01-16T18:36:41.1230160Z ##[error]You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
{
  name: 'HttpError',
  id: '1704976656',
  status: 403,
  headers: {
    'access-control-allow-origin': '*',
    'access-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',
    connection: 'close',
    'content-encoding': 'gzip',
    'content-security-policy': "default-src 'none'; base-uri 'self'; block-all-mixed-content; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com objects-origin.githubusercontent.com www.githubstatus.com collector.githubapp.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events translator.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src render.githubusercontent.com viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com collector.githubapp.com avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com objects-origin.githubusercontent.com secured-user-images.githubusercontent.com/; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/",
    'content-type': 'application/json; charset=utf-8',
    date: 'Sun, 16 Jan 2022 18:36:41 GMT',
    'expect-ct': 'max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"',
    'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
    'retry-after': '60',
    server: 'GitHub.com',
    'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
    'transfer-encoding': 'chunked',
    vary: 'Accept-Encoding, Accept, X-Requested-With',
    'x-content-type-options': 'nosniff',
    'x-frame-options': 'deny',
    'x-github-media-type': 'github.v4; format=json',
    'x-github-request-id': '0402:25A1:11044F5:2F2D8B9:61E465B9',
    'x-xss-protection': '0'
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/graphql',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'probot/12.1.4 octokit-core.js/3.2.4 Node.js/16.13.0 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"query":"\\n  query findCommitsWithAssociatedPullRequests(\\n    $name: String!\\n    $owner: String!\\n    $ref: String!\\n    $withPullRequestBody: Boolean!\\n    $withPullRequestURL: Boolean!\\n    $since: GitTimestamp\\n    $after: String\\n    $withBaseRefName: Boolean!\\n    $withHeadRefName: Boolean!\\n  ) {\\n    repository(name: $name, owner: $owner) {\\n      object(expression: $ref) {\\n        ... on Commit {\\n          history(first: 100, since: $since, after: $after) {\\n            totalCount\\n            pageInfo {\\n              hasNextPage\\n              endCursor\\n            }\\n            nodes {\\n              id\\n              committedDate\\n              message\\n              author {\\n                name\\n                user {\\n                  login\\n                }\\n              }\\n              associatedPullRequests(first: 5) {\\n                nodes {\\n                  title\\n                  number\\n                  url @include(if: $withPullRequestURL)\\n                  body @include(if: $withPullRequestBody)\\n                  author {\\n                    login\\n                  }\\n                  baseRepository {\\n                    nameWithOwner\\n                  }\\n                  mergedAt\\n                  isCrossRepository\\n                  labels(first: 10) {\\n                    nodes {\\n                      name\\n                    }\\n                  }\\n                  baseRefName @include(if: $withBaseRefName)\\n                  headRefName @include(if: $withHeadRefName)\\n                }\\n              }\\n            }\\n          }\\n        }\\n      }\\n    }\\n  }\\n","variables":{"name":"repo","owner":"org","ref":"refs/heads/master","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"after":"90cd77e21c3bab942b6f21fdc12b4ad3a6482694 2799"}}',
    request: {}
  },
  documentation_url: 'https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits',
  event: {
    id: '1704976656',
    name: 'push',
    payload: {
      after: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
      base_ref: null,
      before: 'c7a6c471978ea3fd1e224947dd8622a236ee0853',
      commits: [
        {
          author: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          committer: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          distinct: true,
          id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
          message: 'Release Drafter',
          timestamp: '2022-01-16T19:35:20+01:00',
          tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
          url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
        }
      ],
      compare: 'https://github.com/org/repo/compare/c7a6c471978e...90cd77e21c3b',
      created: false,
      deleted: false,
      forced: true,
      head_commit: {
        author: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        committer: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        distinct: true,
        id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
        message: 'Release Drafter',
        timestamp: '2022-01-16T19:35:20+01:00',
        tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
        url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
      },
      organization: {
        avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
        description: '',
        events_url: 'https://api.github.com/orgs/org/events',
        hooks_url: 'https://api.github.com/orgs/org/hooks',
        id: 42522715,
        issues_url: 'https://api.github.com/orgs/org/issues',
        login: 'org',
        members_url: 'https://api.github.com/orgs/org/members{/member}',
        node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
        public_members_url: 'https://api.github.com/orgs/org/public_members{/member}',
        repos_url: 'https://api.github.com/orgs/org/repos',
        url: 'https://api.github.com/orgs/org'
      },
      pusher: { email: 'email@org.com', name: 'mikeroll' },
      ref: 'refs/heads/master',
      repository: {
        allow_forking: false,
        archive_url: 'https://api.github.com/repos/org/repo/{archive_format}{/ref}',
        archived: false,
        assignees_url: 'https://api.github.com/repos/org/repo/assignees{/user}',
        blobs_url: 'https://api.github.com/repos/org/repo/git/blobs{/sha}',
        branches_url: 'https://api.github.com/repos/org/repo/branches{/branch}',
        clone_url: 'https://github.com/org/repo.git',
        collaborators_url: 'https://api.github.com/repos/org/repo/collaborators{/collaborator}',
        comments_url: 'https://api.github.com/repos/org/repo/comments{/number}',
        commits_url: 'https://api.github.com/repos/org/repo/commits{/sha}',
        compare_url: 'https://api.github.com/repos/org/repo/compare/{base}...{head}',
        contents_url: 'https://api.github.com/repos/org/repo/contents/{+path}',
        contributors_url: 'https://api.github.com/repos/org/repo/contributors',
        created_at: 1642357138,
        default_branch: 'master',
        deployments_url: 'https://api.github.com/repos/org/repo/deployments',
        description: null,
        disabled: false,
        downloads_url: 'https://api.github.com/repos/org/repo/downloads',
        events_url: 'https://api.github.com/repos/org/repo/events',
        fork: false,
        forks: 0,
        forks_count: 0,
        forks_url: 'https://api.github.com/repos/org/repo/forks',
        full_name: 'org/repo',
        git_commits_url: 'https://api.github.com/repos/org/repo/git/commits{/sha}',
        git_refs_url: 'https://api.github.com/repos/org/repo/git/refs{/sha}',
        git_tags_url: 'https://api.github.com/repos/org/repo/git/tags{/sha}',
        git_url: 'git://github.com/org/repo.git',
        has_downloads: true,
        has_issues: true,
        has_pages: false,
        has_projects: true,
        has_wiki: true,
        homepage: null,
        hooks_url: 'https://api.github.com/repos/org/repo/hooks',
        html_url: 'https://github.com/org/repo',
        id: 448636608,
        is_template: false,
        issue_comment_url: 'https://api.github.com/repos/org/repo/issues/comments{/number}',
        issue_events_url: 'https://api.github.com/repos/org/repo/issues/events{/number}',
        issues_url: 'https://api.github.com/repos/org/repo/issues{/number}',
        keys_url: 'https://api.github.com/repos/org/repo/keys{/key_id}',
        labels_url: 'https://api.github.com/repos/org/repo/labels{/name}',
        language: 'Python',
        languages_url: 'https://api.github.com/repos/org/repo/languages',
        license: null,
        master_branch: 'master',
        merges_url: 'https://api.github.com/repos/org/repo/merges',
        milestones_url: 'https://api.github.com/repos/org/repo/milestones{/number}',
        mirror_url: null,
        name: 'repo',
        node_id: 'R_kgDOGr2mwA',
        notifications_url: 'https://api.github.com/repos/org/repo/notifications{?since,all,participating}',
        open_issues: 0,
        open_issues_count: 0,
        organization: 'org',
        owner: {
          avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
          email: null,
          events_url: 'https://api.github.com/users/org/events{/privacy}',
          followers_url: 'https://api.github.com/users/org/followers',
          following_url: 'https://api.github.com/users/org/following{/other_user}',
          gists_url: 'https://api.github.com/users/org/gists{/gist_id}',
          gravatar_id: '',
          html_url: 'https://github.com/org',
          id: 42522715,
          login: 'org',
          name: 'org',
          node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
          organizations_url: 'https://api.github.com/users/org/orgs',
          received_events_url: 'https://api.github.com/users/org/received_events',
          repos_url: 'https://api.github.com/users/org/repos',
          site_admin: false,
          starred_url: 'https://api.github.com/users/org/starred{/owner}{/repo}',
          subscriptions_url: 'https://api.github.com/users/org/subscriptions',
          type: 'Organization',
          url: 'https://api.github.com/users/org'
        },
        private: true,
        pulls_url: 'https://api.github.com/repos/org/repo/pulls{/number}',
        pushed_at: 1642358123,
        releases_url: 'https://api.github.com/repos/org/repo/releases{/id}',
        size: 0,
        ssh_url: 'git@github.com:org/repo.git',
        stargazers: 0,
        stargazers_count: 0,
        stargazers_url: 'https://api.github.com/repos/org/repo/stargazers',
        statuses_url: 'https://api.github.com/repos/org/repo/statuses/{sha}',
        subscribers_url: 'https://api.github.com/repos/org/repo/subscribers',
        subscription_url: 'https://api.github.com/repos/org/repo/subscription',
        svn_url: 'https://github.com/org/repo',
        tags_url: 'https://api.github.com/repos/org/repo/tags',
        teams_url: 'https://api.github.com/repos/org/repo/teams',
        topics: [],
        trees_url: 'https://api.github.com/repos/org/repo/git/trees{/sha}',
        updated_at: '2022-01-16T18:34:29Z',
        url: 'https://github.com/org/repo',
        visibility: 'private',
        watchers: 0,
        watchers_count: 0
      },
      sender: {
        avatar_url: 'https://avatars.githubusercontent.com/u/3399022?v=4',
        events_url: 'https://api.github.com/users/mikeroll/events{/privacy}',
        followers_url: 'https://api.github.com/users/mikeroll/followers',
        following_url: 'https://api.github.com/users/mikeroll/following{/other_user}',
        gists_url: 'https://api.github.com/users/mikeroll/gists{/gist_id}',
        gravatar_id: '',
        html_url: 'https://github.com/mikeroll',
        id: 3399022,
        login: 'mikeroll',
        node_id: 'MDQ6VXNlcjMzOTkwMjI=',
        organizations_url: 'https://api.github.com/users/mikeroll/orgs',
        received_events_url: 'https://api.github.com/users/mikeroll/received_events',
        repos_url: 'https://api.github.com/users/mikeroll/repos',
        site_admin: false,
        starred_url: 'https://api.github.com/users/mikeroll/starred{/owner}{/repo}',
        subscriptions_url: 'https://api.github.com/users/mikeroll/subscriptions',
        type: 'User',
        url: 'https://api.github.com/users/mikeroll'
      }
    }
  },
  stack: 'HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.\n' +
    '    at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:14675:23\n' +
    '    at processTicksAndRejections (node:internal/process/task_queues:96:5)',
  type: 'Error'
}
2022-01-16T18:36:41.1327205Z ##[error]HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
        at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:14675:23
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  name: 'AggregateError',
  event: {
    id: '1704976656',
    name: 'push',
    payload: {
      after: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
      base_ref: null,
      before: 'c7a6c471978ea3fd1e224947dd8622a236ee0853',
      commits: [
        {
          author: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          committer: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          distinct: true,
          id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
          message: 'Release Drafter',
          timestamp: '2022-01-16T19:35:20+01:00',
          tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
          url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
        }
      ],
      compare: 'https://github.com/org/repo/compare/c7a6c471978e...90cd77e21c3b',
      created: false,
      deleted: false,
      forced: true,
      head_commit: {
        author: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        committer: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        distinct: true,
        id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
        message: 'Release Drafter',
        timestamp: '2022-01-16T19:35:20+01:00',
        tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
        url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
      },
      organization: {
        avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
        description: '',
        events_url: 'https://api.github.com/orgs/org/events',
        hooks_url: 'https://api.github.com/orgs/org/hooks',
        id: 42522715,
        issues_url: 'https://api.github.com/orgs/org/issues',
        login: 'org',
        members_url: 'https://api.github.com/orgs/org/members{/member}',
        node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
        public_members_url: 'https://api.github.com/orgs/org/public_members{/member}',
        repos_url: 'https://api.github.com/orgs/org/repos',
        url: 'https://api.github.com/orgs/org'
      },
      pusher: { email: 'email@org.com', name: 'mikeroll' },
      ref: 'refs/heads/master',
      repository: {
        allow_forking: false,
        archive_url: 'https://api.github.com/repos/org/repo/{archive_format}{/ref}',
        archived: false,
        assignees_url: 'https://api.github.com/repos/org/repo/assignees{/user}',
        blobs_url: 'https://api.github.com/repos/org/repo/git/blobs{/sha}',
        branches_url: 'https://api.github.com/repos/org/repo/branches{/branch}',
        clone_url: 'https://github.com/org/repo.git',
        collaborators_url: 'https://api.github.com/repos/org/repo/collaborators{/collaborator}',
        comments_url: 'https://api.github.com/repos/org/repo/comments{/number}',
        commits_url: 'https://api.github.com/repos/org/repo/commits{/sha}',
        compare_url: 'https://api.github.com/repos/org/repo/compare/{base}...{head}',
        contents_url: 'https://api.github.com/repos/org/repo/contents/{+path}',
        contributors_url: 'https://api.github.com/repos/org/repo/contributors',
        created_at: 1642357138,
        default_branch: 'master',
        deployments_url: 'https://api.github.com/repos/org/repo/deployments',
        description: null,
        disabled: false,
        downloads_url: 'https://api.github.com/repos/org/repo/downloads',
        events_url: 'https://api.github.com/repos/org/repo/events',
        fork: false,
        forks: 0,
        forks_count: 0,
        forks_url: 'https://api.github.com/repos/org/repo/forks',
        full_name: 'org/repo',
        git_commits_url: 'https://api.github.com/repos/org/repo/git/commits{/sha}',
        git_refs_url: 'https://api.github.com/repos/org/repo/git/refs{/sha}',
        git_tags_url: 'https://api.github.com/repos/org/repo/git/tags{/sha}',
        git_url: 'git://github.com/org/repo.git',
        has_downloads: true,
        has_issues: true,
        has_pages: false,
        has_projects: true,
        has_wiki: true,
        homepage: null,
        hooks_url: 'https://api.github.com/repos/org/repo/hooks',
        html_url: 'https://github.com/org/repo',
        id: 448636608,
        is_template: false,
        issue_comment_url: 'https://api.github.com/repos/org/repo/issues/comments{/number}',
        issue_events_url: 'https://api.github.com/repos/org/repo/issues/events{/number}',
        issues_url: 'https://api.github.com/repos/org/repo/issues{/number}',
        keys_url: 'https://api.github.com/repos/org/repo/keys{/key_id}',
        labels_url: 'https://api.github.com/repos/org/repo/labels{/name}',
        language: 'Python',
        languages_url: 'https://api.github.com/repos/org/repo/languages',
        license: null,
        master_branch: 'master',
        merges_url: 'https://api.github.com/repos/org/repo/merges',
        milestones_url: 'https://api.github.com/repos/org/repo/milestones{/number}',
        mirror_url: null,
        name: 'repo',
        node_id: 'R_kgDOGr2mwA',
        notifications_url: 'https://api.github.com/repos/org/repo/notifications{?since,all,participating}',
        open_issues: 0,
        open_issues_count: 0,
        organization: 'org',
        owner: {
          avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
          email: null,
          events_url: 'https://api.github.com/users/org/events{/privacy}',
          followers_url: 'https://api.github.com/users/org/followers',
          following_url: 'https://api.github.com/users/org/following{/other_user}',
          gists_url: 'https://api.github.com/users/org/gists{/gist_id}',
          gravatar_id: '',
          html_url: 'https://github.com/org',
          id: 42522715,
          login: 'org',
          name: 'org',
          node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
          organizations_url: 'https://api.github.com/users/org/orgs',
          received_events_url: 'https://api.github.com/users/org/received_events',
          repos_url: 'https://api.github.com/users/org/repos',
          site_admin: false,
          starred_url: 'https://api.github.com/users/org/starred{/owner}{/repo}',
          subscriptions_url: 'https://api.github.com/users/org/subscriptions',
          type: 'Organization',
          url: 'https://api.github.com/users/org'
        },
        private: true,
        pulls_url: 'https://api.github.com/repos/org/repo/pulls{/number}',
        pushed_at: 1642358123,
        releases_url: 'https://api.github.com/repos/org/repo/releases{/id}',
        size: 0,
        ssh_url: 'git@github.com:org/repo.git',
        stargazers: 0,
        stargazers_count: 0,
        stargazers_url: 'https://api.github.com/repos/org/repo/stargazers',
        statuses_url: 'https://api.github.com/repos/org/repo/statuses/{sha}',
        subscribers_url: 'https://api.github.com/repos/org/repo/subscribers',
        subscription_url: 'https://api.github.com/repos/org/repo/subscription',
        svn_url: 'https://github.com/org/repo',
        tags_url: 'https://api.github.com/repos/org/repo/tags',
        teams_url: 'https://api.github.com/repos/org/repo/teams',
        topics: [],
        trees_url: 'https://api.github.com/repos/org/repo/git/trees{/sha}',
        updated_at: '2022-01-16T18:34:29Z',
        url: 'https://github.com/org/repo',
        visibility: 'private',
        watchers: 0,
        watchers_count: 0
      },
      sender: {
        avatar_url: 'https://avatars.githubusercontent.com/u/3399022?v=4',
        events_url: 'https://api.github.com/users/mikeroll/events{/privacy}',
        followers_url: 'https://api.github.com/users/mikeroll/followers',
        following_url: 'https://api.github.com/users/mikeroll/following{/other_user}',
        gists_url: 'https://api.github.com/users/mikeroll/gists{/gist_id}',
        gravatar_id: '',
        html_url: 'https://github.com/mikeroll',
        id: 3399022,
        login: 'mikeroll',
        node_id: 'MDQ6VXNlcjMzOTkwMjI=',
        organizations_url: 'https://api.github.com/users/mikeroll/orgs',
        received_events_url: 'https://api.github.com/users/mikeroll/received_events',
        repos_url: 'https://api.github.com/users/mikeroll/repos',
        site_admin: false,
        starred_url: 'https://api.github.com/users/mikeroll/starred{/owner}{/repo}',
        subscriptions_url: 'https://api.github.com/users/mikeroll/subscriptions',
        type: 'User',
        url: 'https://api.github.com/users/mikeroll'
      }
    }
  },
  errors: [
    {
      name: 'HttpError',
      status: 403,
      headers: {
        'access-control-allow-origin': '*',
        'access-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',
        connection: 'close',
        'content-encoding': 'gzip',
        'content-security-policy': "default-src 'none'; base-uri 'self'; block-all-mixed-content; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com objects-origin.githubusercontent.com www.githubstatus.com collector.githubapp.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events translator.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src render.githubusercontent.com viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com collector.githubapp.com avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com objects-origin.githubusercontent.com secured-user-images.githubusercontent.com/; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/",
        'content-type': 'application/json; charset=utf-8',
        date: 'Sun, 16 Jan 2022 18:36:41 GMT',
        'expect-ct': 'max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"',
        'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
        'retry-after': '60',
        server: 'GitHub.com',
        'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
        'transfer-encoding': 'chunked',
        vary: 'Accept-Encoding, Accept, X-Requested-With',
        'x-content-type-options': 'nosniff',
        'x-frame-options': 'deny',
        'x-github-media-type': 'github.v4; format=json',
        'x-github-request-id': '0402:25A1:11044F5:2F2D8B9:61E465B9',
        'x-xss-protection': '0'
      },
      request: {
        method: 'POST',
        url: 'https://api.github.com/graphql',
        headers: {
          accept: 'application/vnd.github.v3+json',
          'user-agent': 'probot/12.1.4 octokit-core.js/3.2.4 Node.js/16.13.0 (linux; x64)',
          authorization: 'token [REDACTED]',
          'content-type': 'application/json; charset=utf-8'
        },
        body: '{"query":"\\n  query findCommitsWithAssociatedPullRequests(\\n    $name: String!\\n    $owner: String!\\n    $ref: String!\\n    $withPullRequestBody: Boolean!\\n    $withPullRequestURL: Boolean!\\n    $since: GitTimestamp\\n    $after: String\\n    $withBaseRefName: Boolean!\\n    $withHeadRefName: Boolean!\\n  ) {\\n    repository(name: $name, owner: $owner) {\\n      object(expression: $ref) {\\n        ... on Commit {\\n          history(first: 100, since: $since, after: $after) {\\n            totalCount\\n            pageInfo {\\n              hasNextPage\\n              endCursor\\n            }\\n            nodes {\\n              id\\n              committedDate\\n              message\\n              author {\\n                name\\n                user {\\n                  login\\n                }\\n              }\\n              associatedPullRequests(first: 5) {\\n                nodes {\\n                  title\\n                  number\\n                  url @include(if: $withPullRequestURL)\\n                  body @include(if: $withPullRequestBody)\\n                  author {\\n                    login\\n                  }\\n                  baseRepository {\\n                    nameWithOwner\\n                  }\\n                  mergedAt\\n                  isCrossRepository\\n                  labels(first: 10) {\\n                    nodes {\\n                      name\\n                    }\\n                  }\\n                  baseRefName @include(if: $withBaseRefName)\\n                  headRefName @include(if: $withHeadRefName)\\n                }\\n              }\\n            }\\n          }\\n        }\\n      }\\n    }\\n  }\\n","variables":{"name":"repo","owner":"org","ref":"refs/heads/master","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"after":"90cd77e21c3bab942b6f21fdc12b4ad3a6482694 2799"}}',
        request: {}
      },
      documentation_url: 'https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits',
      event: {
        id: '1704976656',
        name: 'push',
        payload: {
          after: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
          base_ref: null,
          before: 'c7a6c471978ea3fd1e224947dd8622a236ee0853',
          commits: [
            {
              author: {
                email: 'email@org.com',
                name: 'First Last',
                username: 'mikeroll'
              },
              committer: {
                email: 'email@org.com',
                name: 'First Last',
                username: 'mikeroll'
              },
              distinct: true,
              id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
              message: 'Release Drafter',
              timestamp: '2022-01-16T19:35:20+01:00',
              tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
              url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
            }
          ],
          compare: 'https://github.com/org/repo/compare/c7a6c471978e...90cd77e21c3b',
          created: false,
          deleted: false,
          forced: true,
          head_commit: {
            author: {
              email: 'email@org.com',
              name: 'First Last',
              username: 'mikeroll'
            },
            committer: {
              email: 'email@org.com',
              name: 'First Last',
              username: 'mikeroll'
            },
            distinct: true,
            id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
            message: 'Release Drafter',
            timestamp: '2022-01-16T19:35:20+01:00',
            tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
            url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
          },
          organization: {
            avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
            description: '',
            events_url: 'https://api.github.com/orgs/org/events',
            hooks_url: 'https://api.github.com/orgs/org/hooks',
            id: 42522715,
            issues_url: 'https://api.github.com/orgs/org/issues',
            login: 'org',
            members_url: 'https://api.github.com/orgs/org/members{/member}',
            node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
            public_members_url: 'https://api.github.com/orgs/org/public_members{/member}',
            repos_url: 'https://api.github.com/orgs/org/repos',
            url: 'https://api.github.com/orgs/org'
          },
          pusher: { email: 'email@org.com', name: 'mikeroll' },
          ref: 'refs/heads/master',
          repository: {
            allow_forking: false,
            archive_url: 'https://api.github.com/repos/org/repo/{archive_format}{/ref}',
            archived: false,
            assignees_url: 'https://api.github.com/repos/org/repo/assignees{/user}',
            blobs_url: 'https://api.github.com/repos/org/repo/git/blobs{/sha}',
            branches_url: 'https://api.github.com/repos/org/repo/branches{/branch}',
            clone_url: 'https://github.com/org/repo.git',
            collaborators_url: 'https://api.github.com/repos/org/repo/collaborators{/collaborator}',
            comments_url: 'https://api.github.com/repos/org/repo/comments{/number}',
            commits_url: 'https://api.github.com/repos/org/repo/commits{/sha}',
            compare_url: 'https://api.github.com/repos/org/repo/compare/{base}...{head}',
            contents_url: 'https://api.github.com/repos/org/repo/contents/{+path}',
            contributors_url: 'https://api.github.com/repos/org/repo/contributors',
            created_at: 1642357138,
            default_branch: 'master',
            deployments_url: 'https://api.github.com/repos/org/repo/deployments',
            description: null,
            disabled: false,
            downloads_url: 'https://api.github.com/repos/org/repo/downloads',
            events_url: 'https://api.github.com/repos/org/repo/events',
            fork: false,
            forks: 0,
            forks_count: 0,
            forks_url: 'https://api.github.com/repos/org/repo/forks',
            full_name: 'org/repo',
            git_commits_url: 'https://api.github.com/repos/org/repo/git/commits{/sha}',
            git_refs_url: 'https://api.github.com/repos/org/repo/git/refs{/sha}',
            git_tags_url: 'https://api.github.com/repos/org/repo/git/tags{/sha}',
            git_url: 'git://github.com/org/repo.git',
            has_downloads: true,
            has_issues: true,
            has_pages: false,
            has_projects: true,
            has_wiki: true,
            homepage: null,
            hooks_url: 'https://api.github.com/repos/org/repo/hooks',
            html_url: 'https://github.com/org/repo',
            id: 448636608,
            is_template: false,
            issue_comment_url: 'https://api.github.com/repos/org/repo/issues/comments{/number}',
            issue_events_url: 'https://api.github.com/repos/org/repo/issues/events{/number}',
            issues_url: 'https://api.github.com/repos/org/repo/issues{/number}',
            keys_url: 'https://api.github.com/repos/org/repo/keys{/key_id}',
            labels_url: 'https://api.github.com/repos/org/repo/labels{/name}',
            language: 'Python',
            languages_url: 'https://api.github.com/repos/org/repo/languages',
            license: null,
            master_branch: 'master',
            merges_url: 'https://api.github.com/repos/org/repo/merges',
            milestones_url: 'https://api.github.com/repos/org/repo/milestones{/number}',
            mirror_url: null,
            name: 'repo',
            node_id: 'R_kgDOGr2mwA',
            notifications_url: 'https://api.github.com/repos/org/repo/notifications{?since,all,participating}',
            open_issues: 0,
            open_issues_count: 0,
            organization: 'org',
            owner: {
              avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
              email: null,
              events_url: 'https://api.github.com/users/org/events{/privacy}',
              followers_url: 'https://api.github.com/users/org/followers',
              following_url: 'https://api.github.com/users/org/following{/other_user}',
              gists_url: 'https://api.github.com/users/org/gists{/gist_id}',
              gravatar_id: '',
              html_url: 'https://github.com/org',
              id: 42522715,
              login: 'org',
              name: 'org',
              node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
              organizations_url: 'https://api.github.com/users/org/orgs',
              received_events_url: 'https://api.github.com/users/org/received_events',
              repos_url: 'https://api.github.com/users/org/repos',
              site_admin: false,
              starred_url: 'https://api.github.com/users/org/starred{/owner}{/repo}',
              subscriptions_url: 'https://api.github.com/users/org/subscriptions',
              type: 'Organization',
              url: 'https://api.github.com/users/org'
            },
            private: true,
            pulls_url: 'https://api.github.com/repos/org/repo/pulls{/number}',
            pushed_at: 1642358123,
            releases_url: 'https://api.github.com/repos/org/repo/releases{/id}',
            size: 0,
            ssh_url: 'git@github.com:org/repo.git',
            stargazers: 0,
            stargazers_count: 0,
            stargazers_url: 'https://api.github.com/repos/org/repo/stargazers',
            statuses_url: 'https://api.github.com/repos/org/repo/statuses/{sha}',
            subscribers_url: 'https://api.github.com/repos/org/repo/subscribers',
            subscription_url: 'https://api.github.com/repos/org/repo/subscription',
            svn_url: 'https://github.com/org/repo',
            tags_url: 'https://api.github.com/repos/org/repo/tags',
            teams_url: 'https://api.github.com/repos/org/repo/teams',
            topics: [],
            trees_url: 'https://api.github.com/repos/org/repo/git/trees{/sha}',
            updated_at: '2022-01-16T18:34:29Z',
            url: 'https://github.com/org/repo',
            visibility: 'private',
            watchers: 0,
            watchers_count: 0
          },
          sender: {
            avatar_url: 'https://avatars.githubusercontent.com/u/3399022?v=4',
            events_url: 'https://api.github.com/users/mikeroll/events{/privacy}',
            followers_url: 'https://api.github.com/users/mikeroll/followers',
            following_url: 'https://api.github.com/users/mikeroll/following{/other_user}',
            gists_url: 'https://api.github.com/users/mikeroll/gists{/gist_id}',
            gravatar_id: '',
            html_url: 'https://github.com/mikeroll',
            id: 3399022,
            login: 'mikeroll',
            node_id: 'MDQ6VXNlcjMzOTkwMjI=',
            organizations_url: 'https://api.github.com/users/mikeroll/orgs',
            received_events_url: 'https://api.github.com/users/mikeroll/received_events',
            repos_url: 'https://api.github.com/users/mikeroll/repos',
            site_admin: false,
            starred_url: 'https://api.github.com/users/mikeroll/starred{/owner}{/repo}',
            subscriptions_url: 'https://api.github.com/users/mikeroll/subscriptions',
            type: 'User',
            url: 'https://api.github.com/users/mikeroll'
          }
        }
      }
    }
  ],
  stack: 'AggregateError: \n' +
    '    HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.\n' +
    '        at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:14675:23\n' +
    '        at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
    '    at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:16687:19',
  type: 'Error'
}
2022-01-16T18:36:41.1513451Z Cleaning up orphan processes

Second and subsequent runs
2022-01-16T18:52:01.3311070Z Found online and idle hosted runner in the current repository's organization account that matches the required labels: 'ubuntu-latest'
2022-01-16T18:52:01.4189235Z Waiting for a Hosted runner in the 'organization' to pick this job...
2022-01-16T18:52:01.5769093Z Job is waiting for a hosted runner to come online.
2022-01-16T18:52:04.8341546Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2022-01-16T18:52:08.4576186Z Current runner version: '2.286.0'
2022-01-16T18:52:08.4601855Z ##[group]Operating System
2022-01-16T18:52:08.4602366Z Ubuntu
2022-01-16T18:52:08.4602733Z 20.04.3
2022-01-16T18:52:08.4602958Z LTS
2022-01-16T18:52:08.4603277Z ##[endgroup]
2022-01-16T18:52:08.4603573Z ##[group]Virtual Environment
2022-01-16T18:52:08.4603942Z Environment: ubuntu-20.04
2022-01-16T18:52:08.4604258Z Version: 20220111.1
2022-01-16T18:52:08.4604770Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220111.1/images/linux/Ubuntu2004-Readme.md
2022-01-16T18:52:08.4605445Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220111.1
2022-01-16T18:52:08.4605859Z ##[endgroup]
2022-01-16T18:52:08.4606212Z ##[group]Virtual Environment Provisioner
2022-01-16T18:52:08.4606556Z 1.0.0.0-main-20211214-1
2022-01-16T18:52:08.4606861Z ##[endgroup]
2022-01-16T18:52:08.4607776Z ##[group]GITHUB_TOKEN Permissions
2022-01-16T18:52:08.4608350Z Actions: write
2022-01-16T18:52:08.4608854Z Checks: write
2022-01-16T18:52:08.4609190Z Contents: write
2022-01-16T18:52:08.4609515Z Deployments: write
2022-01-16T18:52:08.4609799Z Discussions: write
2022-01-16T18:52:08.4610124Z Issues: write
2022-01-16T18:52:08.4610426Z Metadata: read
2022-01-16T18:52:08.4610730Z Packages: write
2022-01-16T18:52:08.4611036Z Pages: write
2022-01-16T18:52:08.4611305Z PullRequests: write
2022-01-16T18:52:08.4611677Z RepositoryProjects: write
2022-01-16T18:52:08.4611989Z SecurityEvents: write
2022-01-16T18:52:08.4612319Z Statuses: write
2022-01-16T18:52:08.4612624Z ##[endgroup]
2022-01-16T18:52:08.4616048Z Secret source: Actions
2022-01-16T18:52:08.4616597Z Prepare workflow directory
2022-01-16T18:52:08.5456369Z Prepare all required actions
2022-01-16T18:52:08.5638607Z Getting action download info
2022-01-16T18:52:08.7693302Z Download action repository 'release-drafter/release-drafter@v5' (SHA:0bc3bc59906b1dac1b608cc7ff5441fcb86ad6c9)
2022-01-16T18:52:09.3951348Z ##[group]Run release-drafter/release-drafter@v5
2022-01-16T18:52:09.3951739Z with:
2022-01-16T18:52:09.3952010Z   config-name: release-drafter.yml
2022-01-16T18:52:09.3952291Z env:
2022-01-16T18:52:09.3952816Z   GITHUB_TOKEN: ***
2022-01-16T18:52:09.3953059Z ##[endgroup]
2022-01-16T18:52:09.8268747Z "pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:52:09.8270643Z "pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:52:09.8271724Z "pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:52:09.8272643Z "pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
2022-01-16T18:52:10.1328281Z org/repo: Found 0 releases
2022-01-16T18:52:10.1329239Z { name: 'event', id: '1704976656' }
2022-01-16T18:52:10.1329965Z org/repo: No draft release found
2022-01-16T18:52:10.1330548Z { name: 'event', id: '1704976656' }
2022-01-16T18:52:10.1338293Z org/repo: No last release found
2022-01-16T18:52:10.1338911Z { name: 'event', id: '1704976656' }
2022-01-16T18:52:10.1339555Z org/repo: Fetching all commits for reference refs/heads/master
2022-01-16T18:52:10.1340228Z { name: 'event', id: '1704976656' }
2022-01-16T18:52:10.2664432Z ##[error]GraphQL Rate Limit Exceeded
{
  name: 'event',
  id: '1704976656',
  headers: {
    'access-control-allow-origin': '*',
    'access-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',
    connection: 'close',
    'content-encoding': 'gzip',
    'content-security-policy': "default-src 'none'",
    'content-type': 'application/json; charset=utf-8',
    date: 'Sun, 16 Jan 2022 18:52:10 GMT',
    'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
    server: 'GitHub.com',
    'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
    'transfer-encoding': 'chunked',
    vary: 'Accept-Encoding, Accept, X-Requested-With',
    'x-content-type-options': 'nosniff',
    'x-frame-options': 'deny',
    'x-github-media-type': 'github.v3; format=json',
    'x-github-request-id': '0403:094E:157B29B:29134A0:61E4695A',
    'x-ratelimit-limit': '1000',
    'x-ratelimit-remaining': '4',
    'x-ratelimit-reset': '1642361738',
    'x-ratelimit-resource': 'graphql',
    'x-ratelimit-used': '996',
    'x-xss-protection': '0'
  },
  data: {
    errors: [
      {
        type: 'RATE_LIMITED',
        message: 'API rate limit exceeded for installation ID 5375483.'
      }
    ]
  },
  event: {
    id: '1704976656',
    name: 'push',
    payload: {
      after: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
      base_ref: null,
      before: 'c7a6c471978ea3fd1e224947dd8622a236ee0853',
      commits: [
        {
          author: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          committer: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          distinct: true,
          id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
          message: 'Release Drafter',
          timestamp: '2022-01-16T19:35:20+01:00',
          tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
          url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
        }
      ],
      compare: 'https://github.com/org/repo/compare/c7a6c471978e...90cd77e21c3b',
      created: false,
      deleted: false,
      forced: true,
      head_commit: {
        author: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        committer: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        distinct: true,
        id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
        message: 'Release Drafter',
        timestamp: '2022-01-16T19:35:20+01:00',
        tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
        url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
      },
      organization: {
        avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
        description: '',
        events_url: 'https://api.github.com/orgs/org/events',
        hooks_url: 'https://api.github.com/orgs/org/hooks',
        id: 42522715,
        issues_url: 'https://api.github.com/orgs/org/issues',
        login: 'org',
        members_url: 'https://api.github.com/orgs/org/members{/member}',
        node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
        public_members_url: 'https://api.github.com/orgs/org/public_members{/member}',
        repos_url: 'https://api.github.com/orgs/org/repos',
        url: 'https://api.github.com/orgs/org'
      },
      pusher: { email: 'email@org.com', name: 'mikeroll' },
      ref: 'refs/heads/master',
      repository: {
        allow_forking: false,
        archive_url: 'https://api.github.com/repos/org/repo/{archive_format}{/ref}',
        archived: false,
        assignees_url: 'https://api.github.com/repos/org/repo/assignees{/user}',
        blobs_url: 'https://api.github.com/repos/org/repo/git/blobs{/sha}',
        branches_url: 'https://api.github.com/repos/org/repo/branches{/branch}',
        clone_url: 'https://github.com/org/repo.git',
        collaborators_url: 'https://api.github.com/repos/org/repo/collaborators{/collaborator}',
        comments_url: 'https://api.github.com/repos/org/repo/comments{/number}',
        commits_url: 'https://api.github.com/repos/org/repo/commits{/sha}',
        compare_url: 'https://api.github.com/repos/org/repo/compare/{base}...{head}',
        contents_url: 'https://api.github.com/repos/org/repo/contents/{+path}',
        contributors_url: 'https://api.github.com/repos/org/repo/contributors',
        created_at: 1642357138,
        default_branch: 'master',
        deployments_url: 'https://api.github.com/repos/org/repo/deployments',
        description: null,
        disabled: false,
        downloads_url: 'https://api.github.com/repos/org/repo/downloads',
        events_url: 'https://api.github.com/repos/org/repo/events',
        fork: false,
        forks: 0,
        forks_count: 0,
        forks_url: 'https://api.github.com/repos/org/repo/forks',
        full_name: 'org/repo',
        git_commits_url: 'https://api.github.com/repos/org/repo/git/commits{/sha}',
        git_refs_url: 'https://api.github.com/repos/org/repo/git/refs{/sha}',
        git_tags_url: 'https://api.github.com/repos/org/repo/git/tags{/sha}',
        git_url: 'git://github.com/org/repo.git',
        has_downloads: true,
        has_issues: true,
        has_pages: false,
        has_projects: true,
        has_wiki: true,
        homepage: null,
        hooks_url: 'https://api.github.com/repos/org/repo/hooks',
        html_url: 'https://github.com/org/repo',
        id: 448636608,
        is_template: false,
        issue_comment_url: 'https://api.github.com/repos/org/repo/issues/comments{/number}',
        issue_events_url: 'https://api.github.com/repos/org/repo/issues/events{/number}',
        issues_url: 'https://api.github.com/repos/org/repo/issues{/number}',
        keys_url: 'https://api.github.com/repos/org/repo/keys{/key_id}',
        labels_url: 'https://api.github.com/repos/org/repo/labels{/name}',
        language: 'Python',
        languages_url: 'https://api.github.com/repos/org/repo/languages',
        license: null,
        master_branch: 'master',
        merges_url: 'https://api.github.com/repos/org/repo/merges',
        milestones_url: 'https://api.github.com/repos/org/repo/milestones{/number}',
        mirror_url: null,
        name: 'repo',
        node_id: 'R_kgDOGr2mwA',
        notifications_url: 'https://api.github.com/repos/org/repo/notifications{?since,all,participating}',
        open_issues: 0,
        open_issues_count: 0,
        organization: 'org',
        owner: {
          avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
          email: null,
          events_url: 'https://api.github.com/users/org/events{/privacy}',
          followers_url: 'https://api.github.com/users/org/followers',
          following_url: 'https://api.github.com/users/org/following{/other_user}',
          gists_url: 'https://api.github.com/users/org/gists{/gist_id}',
          gravatar_id: '',
          html_url: 'https://github.com/org',
          id: 42522715,
          login: 'org',
          name: 'org',
          node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
          organizations_url: 'https://api.github.com/users/org/orgs',
          received_events_url: 'https://api.github.com/users/org/received_events',
          repos_url: 'https://api.github.com/users/org/repos',
          site_admin: false,
          starred_url: 'https://api.github.com/users/org/starred{/owner}{/repo}',
          subscriptions_url: 'https://api.github.com/users/org/subscriptions',
          type: 'Organization',
          url: 'https://api.github.com/users/org'
        },
        private: true,
        pulls_url: 'https://api.github.com/repos/org/repo/pulls{/number}',
        pushed_at: 1642358123,
        releases_url: 'https://api.github.com/repos/org/repo/releases{/id}',
        size: 0,
        ssh_url: 'git@github.com:org/repo.git',
        stargazers: 0,
        stargazers_count: 0,
        stargazers_url: 'https://api.github.com/repos/org/repo/stargazers',
        statuses_url: 'https://api.github.com/repos/org/repo/statuses/{sha}',
        subscribers_url: 'https://api.github.com/repos/org/repo/subscribers',
        subscription_url: 'https://api.github.com/repos/org/repo/subscription',
        svn_url: 'https://github.com/org/repo',
        tags_url: 'https://api.github.com/repos/org/repo/tags',
        teams_url: 'https://api.github.com/repos/org/repo/teams',
        topics: [],
        trees_url: 'https://api.github.com/repos/org/repo/git/trees{/sha}',
        updated_at: '2022-01-16T18:34:29Z',
        url: 'https://github.com/org/repo',
        visibility: 'private',
        watchers: 0,
        watchers_count: 0
      },
      sender: {
        avatar_url: 'https://avatars.githubusercontent.com/u/3399022?v=4',
        events_url: 'https://api.github.com/users/mikeroll/events{/privacy}',
        followers_url: 'https://api.github.com/users/mikeroll/followers',
        following_url: 'https://api.github.com/users/mikeroll/following{/other_user}',
        gists_url: 'https://api.github.com/users/mikeroll/gists{/gist_id}',
        gravatar_id: '',
        html_url: 'https://github.com/mikeroll',
        id: 3399022,
        login: 'mikeroll',
        node_id: 'MDQ6VXNlcjMzOTkwMjI=',
        organizations_url: 'https://api.github.com/users/mikeroll/orgs',
        received_events_url: 'https://api.github.com/users/mikeroll/received_events',
        repos_url: 'https://api.github.com/users/mikeroll/repos',
        site_admin: false,
        starred_url: 'https://api.github.com/users/mikeroll/starred{/owner}{/repo}',
        subscriptions_url: 'https://api.github.com/users/mikeroll/subscriptions',
        type: 'User',
        url: 'https://api.github.com/users/mikeroll'
      }
    }
  },
  stack: 'Error: GraphQL Rate Limit Exceeded\n' +
    '    at doRequest (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:14355:35)',
  type: 'Error'
}
2022-01-16T18:52:10.2761146Z ##[error]Error: GraphQL Rate Limit Exceeded
        at doRequest (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:14355:35)
{
  name: 'AggregateError',
  event: {
    id: '1704976656',
    name: 'push',
    payload: {
      after: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
      base_ref: null,
      before: 'c7a6c471978ea3fd1e224947dd8622a236ee0853',
      commits: [
        {
          author: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          committer: {
            email: 'email@org.com',
            name: 'First Last',
            username: 'mikeroll'
          },
          distinct: true,
          id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
          message: 'Release Drafter',
          timestamp: '2022-01-16T19:35:20+01:00',
          tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
          url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
        }
      ],
      compare: 'https://github.com/org/repo/compare/c7a6c471978e...90cd77e21c3b',
      created: false,
      deleted: false,
      forced: true,
      head_commit: {
        author: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        committer: {
          email: 'email@org.com',
          name: 'First Last',
          username: 'mikeroll'
        },
        distinct: true,
        id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
        message: 'Release Drafter',
        timestamp: '2022-01-16T19:35:20+01:00',
        tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
        url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
      },
      organization: {
        avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
        description: '',
        events_url: 'https://api.github.com/orgs/org/events',
        hooks_url: 'https://api.github.com/orgs/org/hooks',
        id: 42522715,
        issues_url: 'https://api.github.com/orgs/org/issues',
        login: 'org',
        members_url: 'https://api.github.com/orgs/org/members{/member}',
        node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
        public_members_url: 'https://api.github.com/orgs/org/public_members{/member}',
        repos_url: 'https://api.github.com/orgs/org/repos',
        url: 'https://api.github.com/orgs/org'
      },
      pusher: { email: 'email@org.com', name: 'mikeroll' },
      ref: 'refs/heads/master',
      repository: {
        allow_forking: false,
        archive_url: 'https://api.github.com/repos/org/repo/{archive_format}{/ref}',
        archived: false,
        assignees_url: 'https://api.github.com/repos/org/repo/assignees{/user}',
        blobs_url: 'https://api.github.com/repos/org/repo/git/blobs{/sha}',
        branches_url: 'https://api.github.com/repos/org/repo/branches{/branch}',
        clone_url: 'https://github.com/org/repo.git',
        collaborators_url: 'https://api.github.com/repos/org/repo/collaborators{/collaborator}',
        comments_url: 'https://api.github.com/repos/org/repo/comments{/number}',
        commits_url: 'https://api.github.com/repos/org/repo/commits{/sha}',
        compare_url: 'https://api.github.com/repos/org/repo/compare/{base}...{head}',
        contents_url: 'https://api.github.com/repos/org/repo/contents/{+path}',
        contributors_url: 'https://api.github.com/repos/org/repo/contributors',
        created_at: 1642357138,
        default_branch: 'master',
        deployments_url: 'https://api.github.com/repos/org/repo/deployments',
        description: null,
        disabled: false,
        downloads_url: 'https://api.github.com/repos/org/repo/downloads',
        events_url: 'https://api.github.com/repos/org/repo/events',
        fork: false,
        forks: 0,
        forks_count: 0,
        forks_url: 'https://api.github.com/repos/org/repo/forks',
        full_name: 'org/repo',
        git_commits_url: 'https://api.github.com/repos/org/repo/git/commits{/sha}',
        git_refs_url: 'https://api.github.com/repos/org/repo/git/refs{/sha}',
        git_tags_url: 'https://api.github.com/repos/org/repo/git/tags{/sha}',
        git_url: 'git://github.com/org/repo.git',
        has_downloads: true,
        has_issues: true,
        has_pages: false,
        has_projects: true,
        has_wiki: true,
        homepage: null,
        hooks_url: 'https://api.github.com/repos/org/repo/hooks',
        html_url: 'https://github.com/org/repo',
        id: 448636608,
        is_template: false,
        issue_comment_url: 'https://api.github.com/repos/org/repo/issues/comments{/number}',
        issue_events_url: 'https://api.github.com/repos/org/repo/issues/events{/number}',
        issues_url: 'https://api.github.com/repos/org/repo/issues{/number}',
        keys_url: 'https://api.github.com/repos/org/repo/keys{/key_id}',
        labels_url: 'https://api.github.com/repos/org/repo/labels{/name}',
        language: 'Python',
        languages_url: 'https://api.github.com/repos/org/repo/languages',
        license: null,
        master_branch: 'master',
        merges_url: 'https://api.github.com/repos/org/repo/merges',
        milestones_url: 'https://api.github.com/repos/org/repo/milestones{/number}',
        mirror_url: null,
        name: 'repo',
        node_id: 'R_kgDOGr2mwA',
        notifications_url: 'https://api.github.com/repos/org/repo/notifications{?since,all,participating}',
        open_issues: 0,
        open_issues_count: 0,
        organization: 'org',
        owner: {
          avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
          email: null,
          events_url: 'https://api.github.com/users/org/events{/privacy}',
          followers_url: 'https://api.github.com/users/org/followers',
          following_url: 'https://api.github.com/users/org/following{/other_user}',
          gists_url: 'https://api.github.com/users/org/gists{/gist_id}',
          gravatar_id: '',
          html_url: 'https://github.com/org',
          id: 42522715,
          login: 'org',
          name: 'org',
          node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
          organizations_url: 'https://api.github.com/users/org/orgs',
          received_events_url: 'https://api.github.com/users/org/received_events',
          repos_url: 'https://api.github.com/users/org/repos',
          site_admin: false,
          starred_url: 'https://api.github.com/users/org/starred{/owner}{/repo}',
          subscriptions_url: 'https://api.github.com/users/org/subscriptions',
          type: 'Organization',
          url: 'https://api.github.com/users/org'
        },
        private: true,
        pulls_url: 'https://api.github.com/repos/org/repo/pulls{/number}',
        pushed_at: 1642358123,
        releases_url: 'https://api.github.com/repos/org/repo/releases{/id}',
        size: 0,
        ssh_url: 'git@github.com:org/repo.git',
        stargazers: 0,
        stargazers_count: 0,
        stargazers_url: 'https://api.github.com/repos/org/repo/stargazers',
        statuses_url: 'https://api.github.com/repos/org/repo/statuses/{sha}',
        subscribers_url: 'https://api.github.com/repos/org/repo/subscribers',
        subscription_url: 'https://api.github.com/repos/org/repo/subscription',
        svn_url: 'https://github.com/org/repo',
        tags_url: 'https://api.github.com/repos/org/repo/tags',
        teams_url: 'https://api.github.com/repos/org/repo/teams',
        topics: [],
        trees_url: 'https://api.github.com/repos/org/repo/git/trees{/sha}',
        updated_at: '2022-01-16T18:34:29Z',
        url: 'https://github.com/org/repo',
        visibility: 'private',
        watchers: 0,
        watchers_count: 0
      },
      sender: {
        avatar_url: 'https://avatars.githubusercontent.com/u/3399022?v=4',
        events_url: 'https://api.github.com/users/mikeroll/events{/privacy}',
        followers_url: 'https://api.github.com/users/mikeroll/followers',
        following_url: 'https://api.github.com/users/mikeroll/following{/other_user}',
        gists_url: 'https://api.github.com/users/mikeroll/gists{/gist_id}',
        gravatar_id: '',
        html_url: 'https://github.com/mikeroll',
        id: 3399022,
        login: 'mikeroll',
        node_id: 'MDQ6VXNlcjMzOTkwMjI=',
        organizations_url: 'https://api.github.com/users/mikeroll/orgs',
        received_events_url: 'https://api.github.com/users/mikeroll/received_events',
        repos_url: 'https://api.github.com/users/mikeroll/repos',
        site_admin: false,
        starred_url: 'https://api.github.com/users/mikeroll/starred{/owner}{/repo}',
        subscriptions_url: 'https://api.github.com/users/mikeroll/subscriptions',
        type: 'User',
        url: 'https://api.github.com/users/mikeroll'
      }
    }
  },
  errors: [
    {
      headers: {
        'access-control-allow-origin': '*',
        'access-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',
        connection: 'close',
        'content-encoding': 'gzip',
        'content-security-policy': "default-src 'none'",
        'content-type': 'application/json; charset=utf-8',
        date: 'Sun, 16 Jan 2022 18:52:10 GMT',
        'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
        server: 'GitHub.com',
        'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
        'transfer-encoding': 'chunked',
        vary: 'Accept-Encoding, Accept, X-Requested-With',
        'x-content-type-options': 'nosniff',
        'x-frame-options': 'deny',
        'x-github-media-type': 'github.v3; format=json',
        'x-github-request-id': '0403:094E:157B29B:29134A0:61E4695A',
        'x-ratelimit-limit': '1000',
        'x-ratelimit-remaining': '4',
        'x-ratelimit-reset': '1642361738',
        'x-ratelimit-resource': 'graphql',
        'x-ratelimit-used': '996',
        'x-xss-protection': '0'
      },
      data: {
        errors: [
          {
            type: 'RATE_LIMITED',
            message: 'API rate limit exceeded for installation ID 5375483.'
          }
        ]
      },
      event: {
        id: '1704976656',
        name: 'push',
        payload: {
          after: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
          base_ref: null,
          before: 'c7a6c471978ea3fd1e224947dd8622a236ee0853',
          commits: [
            {
              author: {
                email: 'email@org.com',
                name: 'First Last',
                username: 'mikeroll'
              },
              committer: {
                email: 'email@org.com',
                name: 'First Last',
                username: 'mikeroll'
              },
              distinct: true,
              id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
              message: 'Release Drafter',
              timestamp: '2022-01-16T19:35:20+01:00',
              tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
              url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
            }
          ],
          compare: 'https://github.com/org/repo/compare/c7a6c471978e...90cd77e21c3b',
          created: false,
          deleted: false,
          forced: true,
          head_commit: {
            author: {
              email: 'email@org.com',
              name: 'First Last',
              username: 'mikeroll'
            },
            committer: {
              email: 'email@org.com',
              name: 'First Last',
              username: 'mikeroll'
            },
            distinct: true,
            id: '90cd77e21c3bab942b6f21fdc12b4ad3a6482694',
            message: 'Release Drafter',
            timestamp: '2022-01-16T19:35:20+01:00',
            tree_id: '0d4e972b3b8a520ff42ca8d95ec8b62dfdc8573d',
            url: 'https://github.com/org/repo/commit/90cd77e21c3bab942b6f21fdc12b4ad3a6482694'
          },
          organization: {
            avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
            description: '',
            events_url: 'https://api.github.com/orgs/org/events',
            hooks_url: 'https://api.github.com/orgs/org/hooks',
            id: 42522715,
            issues_url: 'https://api.github.com/orgs/org/issues',
            login: 'org',
            members_url: 'https://api.github.com/orgs/org/members{/member}',
            node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
            public_members_url: 'https://api.github.com/orgs/org/public_members{/member}',
            repos_url: 'https://api.github.com/orgs/org/repos',
            url: 'https://api.github.com/orgs/org'
          },
          pusher: { email: 'email@org.com', name: 'mikeroll' },
          ref: 'refs/heads/master',
          repository: {
            allow_forking: false,
            archive_url: 'https://api.github.com/repos/org/repo/{archive_format}{/ref}',
            archived: false,
            assignees_url: 'https://api.github.com/repos/org/repo/assignees{/user}',
            blobs_url: 'https://api.github.com/repos/org/repo/git/blobs{/sha}',
            branches_url: 'https://api.github.com/repos/org/repo/branches{/branch}',
            clone_url: 'https://github.com/org/repo.git',
            collaborators_url: 'https://api.github.com/repos/org/repo/collaborators{/collaborator}',
            comments_url: 'https://api.github.com/repos/org/repo/comments{/number}',
            commits_url: 'https://api.github.com/repos/org/repo/commits{/sha}',
            compare_url: 'https://api.github.com/repos/org/repo/compare/{base}...{head}',
            contents_url: 'https://api.github.com/repos/org/repo/contents/{+path}',
            contributors_url: 'https://api.github.com/repos/org/repo/contributors',
            created_at: 1642357138,
            default_branch: 'master',
            deployments_url: 'https://api.github.com/repos/org/repo/deployments',
            description: null,
            disabled: false,
            downloads_url: 'https://api.github.com/repos/org/repo/downloads',
            events_url: 'https://api.github.com/repos/org/repo/events',
            fork: false,
            forks: 0,
            forks_count: 0,
            forks_url: 'https://api.github.com/repos/org/repo/forks',
            full_name: 'org/repo',
            git_commits_url: 'https://api.github.com/repos/org/repo/git/commits{/sha}',
            git_refs_url: 'https://api.github.com/repos/org/repo/git/refs{/sha}',
            git_tags_url: 'https://api.github.com/repos/org/repo/git/tags{/sha}',
            git_url: 'git://github.com/org/repo.git',
            has_downloads: true,
            has_issues: true,
            has_pages: false,
            has_projects: true,
            has_wiki: true,
            homepage: null,
            hooks_url: 'https://api.github.com/repos/org/repo/hooks',
            html_url: 'https://github.com/org/repo',
            id: 448636608,
            is_template: false,
            issue_comment_url: 'https://api.github.com/repos/org/repo/issues/comments{/number}',
            issue_events_url: 'https://api.github.com/repos/org/repo/issues/events{/number}',
            issues_url: 'https://api.github.com/repos/org/repo/issues{/number}',
            keys_url: 'https://api.github.com/repos/org/repo/keys{/key_id}',
            labels_url: 'https://api.github.com/repos/org/repo/labels{/name}',
            language: 'Python',
            languages_url: 'https://api.github.com/repos/org/repo/languages',
            license: null,
            master_branch: 'master',
            merges_url: 'https://api.github.com/repos/org/repo/merges',
            milestones_url: 'https://api.github.com/repos/org/repo/milestones{/number}',
            mirror_url: null,
            name: 'repo',
            node_id: 'R_kgDOGr2mwA',
            notifications_url: 'https://api.github.com/repos/org/repo/notifications{?since,all,participating}',
            open_issues: 0,
            open_issues_count: 0,
            organization: 'org',
            owner: {
              avatar_url: 'https://avatars.githubusercontent.com/u/42522715?v=4',
              email: null,
              events_url: 'https://api.github.com/users/org/events{/privacy}',
              followers_url: 'https://api.github.com/users/org/followers',
              following_url: 'https://api.github.com/users/org/following{/other_user}',
              gists_url: 'https://api.github.com/users/org/gists{/gist_id}',
              gravatar_id: '',
              html_url: 'https://github.com/org',
              id: 42522715,
              login: 'org',
              name: 'org',
              node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyNTIyNzE1',
              organizations_url: 'https://api.github.com/users/org/orgs',
              received_events_url: 'https://api.github.com/users/org/received_events',
              repos_url: 'https://api.github.com/users/org/repos',
              site_admin: false,
              starred_url: 'https://api.github.com/users/org/starred{/owner}{/repo}',
              subscriptions_url: 'https://api.github.com/users/org/subscriptions',
              type: 'Organization',
              url: 'https://api.github.com/users/org'
            },
            private: true,
            pulls_url: 'https://api.github.com/repos/org/repo/pulls{/number}',
            pushed_at: 1642358123,
            releases_url: 'https://api.github.com/repos/org/repo/releases{/id}',
            size: 0,
            ssh_url: 'git@github.com:org/repo.git',
            stargazers: 0,
            stargazers_count: 0,
            stargazers_url: 'https://api.github.com/repos/org/repo/stargazers',
            statuses_url: 'https://api.github.com/repos/org/repo/statuses/{sha}',
            subscribers_url: 'https://api.github.com/repos/org/repo/subscribers',
            subscription_url: 'https://api.github.com/repos/org/repo/subscription',
            svn_url: 'https://github.com/org/repo',
            tags_url: 'https://api.github.com/repos/org/repo/tags',
            teams_url: 'https://api.github.com/repos/org/repo/teams',
            topics: [],
            trees_url: 'https://api.github.com/repos/org/repo/git/trees{/sha}',
            updated_at: '2022-01-16T18:34:29Z',
            url: 'https://github.com/org/repo',
            visibility: 'private',
            watchers: 0,
            watchers_count: 0
          },
          sender: {
            avatar_url: 'https://avatars.githubusercontent.com/u/3399022?v=4',
            events_url: 'https://api.github.com/users/mikeroll/events{/privacy}',
            followers_url: 'https://api.github.com/users/mikeroll/followers',
            following_url: 'https://api.github.com/users/mikeroll/following{/other_user}',
            gists_url: 'https://api.github.com/users/mikeroll/gists{/gist_id}',
            gravatar_id: '',
            html_url: 'https://github.com/mikeroll',
            id: 3399022,
            login: 'mikeroll',
            node_id: 'MDQ6VXNlcjMzOTkwMjI=',
            organizations_url: 'https://api.github.com/users/mikeroll/orgs',
            received_events_url: 'https://api.github.com/users/mikeroll/received_events',
            repos_url: 'https://api.github.com/users/mikeroll/repos',
            site_admin: false,
            starred_url: 'https://api.github.com/users/mikeroll/starred{/owner}{/repo}',
            subscriptions_url: 'https://api.github.com/users/mikeroll/subscriptions',
            type: 'User',
            url: 'https://api.github.com/users/mikeroll'
          }
        }
      }
    }
  ],
  stack: 'AggregateError: \n' +
    '    Error: GraphQL Rate Limit Exceeded\n' +
    '        at doRequest (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:14355:35)\n' +
    '    at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:16687:19',
  type: 'Error'
}
2022-01-16T18:52:10.2966625Z Cleaning up orphan processes

What also seems wrong is that the job is green in the end, and the rate limits errors are presented merely as annotations:

Screenshot

image

In the end I got it to run successfuly by creating a dummy v0 release, making release-drafter only fetch commits starting from that point.

So my thoughts are:

  • Incorrect job status is probably the more important thing to fix first - silent failures are never fun
  • Perhaps we need a warning in the docs about adding release-drafter to large repos such as mine?
  • Actually handling the rate limit errors (I mean like sleep backoff until the limit is reset, or pre-calculating the number of queries and rationing them, or some such) could still be beneficial, but probably too much work for what that solves
@jetersen
Copy link
Member

with over 36k commits drafting a release could several minutes if not hours. 😅
I would simply create a single release.

The docs are pretty bloated already, who reads them. Sometimes I doubt anybody does. Good luck finding a mention of BTW we use actual APIs to figure stuff out that could be dependent on rate limits.

Ya we should properly handle rate limits 😅 Though never had a need for it.

See https://github.com/release-drafter/release-drafter/blob/master/lib/pagination.js

We are using probot which should have throttling in place:
https://github.com/probot/probot/blob/9342caf1abd8a0a7bb3fb883008ec3f199acfdf9/src/octokit/probot-octokit.ts#L27-L36

@mikeroll
Copy link
Contributor Author

Totally not suggesting it should handle the 36k case, just that the reason for failure wasn't immediately obvious ;)

@mrfelton
Copy link

Also hit this when trying to convert a large monorepo that does a single monolithic release to doing individual releases per service within the monorepo. Repo has hundreds of thousands of commits and many tags and releases. Just that none of the existing releases match the new per service tag prefixes so it;s trying to create first release for each service that covers the entire repo hisdtory. Maybe simple option would be to add something like initialVersion to tell it furthest back point to consider.

@wadevries
Copy link

Allowing to specify a limit to the number of commits fetched would also be acceptable for me. My project's history is many years old, but releases are never going to be > ~1000 commits apart.

@pnaza
Copy link

pnaza commented Aug 14, 2023

I also ran into this issue. Is there a workaround? I created a dummy draft release but I'm not sure how to make release-drafter only fetch commits starting from that point.

Update: I got it working 🎉 . The release has to be published and not in draft.

@paolostancato
Copy link

I'm having a similar problem: I'm trying to create several draft releases from the same repository but I'm being throttled

Warning: Abuse limit hit with "POST /graphql", retrying in 60 seconds.
...
Error: GraphQL Rate Limit Exceeded

that wouldn't be an issue per se, but the job step is not failing, so I don't have any other choice than re-trying all the releases instead of only the ones that failed.

@sayaliM0412
Copy link

sayaliM0412 commented Oct 4, 2023

I'm having a similar problem: I'm trying to create several draft releases from the same repository but I'm being throttled

Warning: Abuse limit hit with "POST /graphql", retrying in 60 seconds.
...
Error: GraphQL Rate Limit Exceeded

that wouldn't be an issue per se, but the job step is not failing, so I don't have any other choice than re-trying all the releases instead of only the ones that failed.

were you able to resolve your issue? I am facing a similar issue while trying to automate multiple draft-release using release-drafter/release-drafter@v5

@paolostancato
Copy link

were you able to resolve your issue? I am facing a similar issue while trying to automate multiple draft-release using release-drafter/release-drafter@v5

I found that this situation happened when there were no previous release for said components, making the action navigate the whole repo history. Thus I "fixed" it by creating an initial release manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants