Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticate GitHub requests #606

Open
rgoldberg opened this issue Oct 27, 2024 · 0 comments
Open

Authenticate GitHub requests #606

rgoldberg opened this issue Oct 27, 2024 · 0 comments
Assignees
Labels
🧽 chore Administrative task: documentation, build, test, release, git, etc.

Comments

@rgoldberg
Copy link
Contributor

Three GitHub Action Workflows failed yesterday, like:

https://github.com/mas-cli/mas/actions/runs/11534974563

With the error:

GitHub API Error: API rate limit exceeded for <REDACTED IP ADDRESS>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try again in 60 minutes, or:
Create a GitHub personal access token:
  https://github.com/settings/tokens/new?scopes=gist,repo,workflow&description=Homebrew
echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> /Users/runner/.bash_profile

We should therefore authenticate GitHub requests.

The first 3 bytes of each of the IP addresses were the same for all the failures, but the last byte was different for each.

I don't know what account we're supposed to authenticate for:

  • the mas-cli organization
  • the account that performed the event that triggered the workflow, etc.

I don't know GitHub Actions or Workflows, so I assigned @phatblat, as he's working on the release process. If you, @phatblat, don't have the time to work on it, it can be shelved for later, or I can learn all about GitHub Actions & Workflows, then investigate, but it should take me some time starting from scratch.

@rgoldberg rgoldberg added the 🧽 chore Administrative task: documentation, build, test, release, git, etc. label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧽 chore Administrative task: documentation, build, test, release, git, etc.
Projects
None yet
Development

No branches or pull requests

2 participants