Open
Description
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:
Activity