Skip to content

Unstable on Mac due to GitHub API restrictions #69

@xaviergmail

Description

@xaviergmail

I have been consistently running across this error when trying to use tmate on a macos-10.15 runner:

==> Installing dependencies for tmate: libssh and msgpack
==> Installing tmate dependency: libssh
==> Pouring libssh-0.9.5_1.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/libssh/0.9.5_1: 23 files, 1.2MB
==> Installing tmate dependency: msgpack
==> Pouring msgpack-3.3.0.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/msgpack/3.3.0: 757 files, 5.2MB
==> Installing tmate
==> Pouring tmate-2.4.0.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/tmate/2.4.0: 9 files, 660.9KB
Error: HttpError: API rate limit exceeded for 199.19.85.34. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

I'm not sure what exactly is triggering this, but I am in fact using limit-access-to-actor which relies on octokit

      - name: Setup tmate session
        uses: mxschmitt/action-tmate@v3
        with:
          limit-access-to-actor: true

It seems to be related to this: actions/runner-images/issues/602

Looking at octokit's documentation, it seems setting the GITHUB_TOKEN environment variable might be enough to authenticate the user. I will try that and report back with anything I find. Edit: I have yet again come across the same error with the GITHUB_TOKEN environment variable set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions