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

Release job failed due to an issue with semantic-release #69

Open
oscard0m opened this issue Mar 27, 2022 · 0 comments
Open

Release job failed due to an issue with semantic-release #69

oscard0m opened this issue Mar 27, 2022 · 0 comments
Labels
blocked Blocked by external dependencies / APIs bug Something isn't working as documented, or is being fixed

Comments

@oscard0m
Copy link
Member

release workflow run: https://github.com/octoherd/cli/runs/5709653889?check_suite_focus=true

Output
[12:34:52 PM] [semantic-release] › ✖  Failed step "success" of plugin "@semantic-release/github"
[12:34:52 PM] [semantic-release] › ✖  An error occurred while running semantic-release: RequestError [HttpError]: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
  at /home/runner/work/cli/cli/node_modules/@octokit/request/dist-node/index.js:86:21
  at processTicksAndRejections (node:internal/process/task_queues:96:5) {
status: 403,
response: {
  url: 'https://api.github.com/search/issues?q=in%3Atitle+repo%3Aoctoherd%2Fcli+type%3Aissue+state%3Aopen+The%20automated%20release%20is%20failing%20%F0%9F%9A%A8',
  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'",
    'content-type': 'application/json; charset=utf-8',
    date: 'Sun, 27 Mar 2022 12:34:52 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': '0440:683C:153DCB0:4170EA4:6[240](https://github.com/octoherd/cli/runs/5709653889?check_suite_focus=true#step:5:240)59EC',
    'x-ratelimit-limit': '30',
    'x-ratelimit-remaining': '28',
    'x-ratelimit-reset': '1648384522',
    'x-ratelimit-resource': 'search',
    'x-ratelimit-used': '2',
    'x-xss-protection': '0'
  },
  data: {
    documentation_url: 'https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits',
    message: 'You have exceeded a secondary rate limit. Please wait a few minutes before you try again.'
  }
},
request: {
  method: 'GET',
  url: 'https://api.github.com/search/issues?q=in%3Atitle+repo%3Aoctoherd%2Fcli+type%3Aissue+state%3Aopen+The%20automated%20release%20is%20failing%20%F0%9F%9A%A8',
  headers: {
    accept: 'application/vnd.github.v3+json',
    'user-agent': 'octokit-rest.js/18.10.0 octokit-core.js/3.5.1 Node.js/16.14.0 (linux; x64)',
    authorization: 'token [REDACTED]'
  },
  request: { agent: undefined, hook: [Function: bound bound register] }
},
pluginName: '@semantic-release/github'
}
AggregateError: 
  HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again.
      at /home/runner/work/cli/cli/node_modules/@octokit/request/dist-node/index.js:86:21
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
  at /home/runner/work/cli/cli/node_modules/semantic-release/lib/plugins/pipeline.js:54:11
  at async Object.pluginsConf.<computed> [as success] (/home/runner/work/cli/cli/node_modules/semantic-release/lib/plugins/index.js:80:11)
  at async run (/home/runner/work/cli/cli/node_modules/semantic-release/index.js:209:3)
  at async module.exports (/home/runner/work/cli/cli/node_modules/semantic-release/index.js:[268](https://github.com/octoherd/cli/runs/5709653889?check_suite_focus=true#step:5:268):22)
  at async module.exports (/home/runner/work/cli/cli/node_modules/semantic-release/cli.js:55:5)
Error: Process completed with exit code 1.

The root of the issue is in:

@oscard0m oscard0m added bug Something isn't working as documented, or is being fixed blocked Blocked by external dependencies / APIs labels Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by external dependencies / APIs bug Something isn't working as documented, or is being fixed
Projects
None yet
Development

No branches or pull requests

1 participant