Skip to content

GitHub API rate limits on GitHub Actions #782

@zregvart

Description

@zregvart

Seems that we're hitting the GitHub API rate limits on GitHub Actions, from a recent build:

➤ YN0000: ERROR 2022/02/09 07:47:51 Failed to get JSON resource "[api.github.com/repos/apache/camel-quarkus/issues?state=closed&milestone=10](https://api.github.com/repos/apache/camel-quarkus/issues?state=closed&milestone=10)": Failed to retrieve remote file: Forbidden, body: "{\"message\":\"API rate limit exceeded for 52.191.164.91. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"[docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\](https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\)"}"
➤ YN0000: If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
➤ YN0000: ignoreErrors = ["error-remote-getjson"]

We might need to set HUGO_PARAMS_GitHubUsername and HUGO_PARAMS_GitHubToken to a read-only GitHub token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions