Skip to content

GitHub API rate limits #6905

@billyvg

Description

@billyvg

Do you want to request a feature or report a bug?
Both?

What is the current behavior?
We are hitting GitHub API rate limits

error An unexpected error occurred: "https://api.github.com/repos/yarnpkg/yarn/releases: API rate limit exceeded for ***. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)". 

(this happens when trying to use the new yarn policies set-version command)

What is the expected behavior?
We should be able to define a github access token via an environment variable so that github requests are authd

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions