Closed2

Python uv astral-sh/setup-uv@v5 が ::error::API rate limit exceeded for ...

syakesabasyakesaba

uvがgithub.comのREST APIを使っている為、以下のエラーが出た場合の対処法

No (valid) GitHub token provided. Falling back to anonymous. Requests might be rate limited.
::error::API rate limit exceeded for xxx.xxx.xxx.xxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) - https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting
  ❌  Failure - Main Install uv
syakesabasyakesaba

以下のように、github-token引数を指定する。

      -
        name: Install uv
        uses: astral-sh/setup-uv@v5 # https://github.com/astral-sh/setup-uv
        with:
          github-token: ${{ secrets._GITHUB_TOKEN }}
このスクラップは6日前にクローズされました