8000 GitHub API is exceeding rate limit · Issue #3 · visvirial/sccache-action · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
GitHub API is exceeding rate limit #3
Open
@futursolo

Description

@futursolo

Sometimes this action would report:

Error: 403 error making request get https://api.github.com/repos/mozilla/sccache/releases/latest: "rate limit exceeded"

This can be mitigated by providing the run's API token to the action from secrets.GITHUB_TOKEN:
See: https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limits-for-requests-from-github-actions

Example:

  - uses: visvirial/sccache-action@v2
    with:
      token: ${{ secrets.GITHUB_TOKEN }}

Would it be possible to provide an input that supports providing a GitHub token?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milesto 2E8A ne

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0