ci(release): authenticate arduino/setup-protoc with GITHUB_TOKEN#31
Merged
Nic-dorman merged 1 commit intomainfrom Apr 28, 2026
Merged
ci(release): authenticate arduino/setup-protoc with GITHUB_TOKEN#31Nic-dorman merged 1 commit intomainfrom
Nic-dorman merged 1 commit intomainfrom
Conversation
arduino/setup-protoc calls the GitHub releases API to fetch the protoc binary. Without an explicit repo-token it uses the per-IP unauthenticated quota (~60/hr), which is shared with every other runner on the same egress IP and routinely exhausted on the ubuntu-/macos-/windows-latest pools. Both the v0.3.0 (run 24506528329) and v0.5.0 (run 25060322954) release workflows died at this step within seconds with "API rate limit exceeded for <ip>". Passing repo-token makes the action authenticate as the workflow, lifting it onto our 5,000/hr token quota. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Both v0.3.0 and v0.5.0 release workflow runs failed within ~10 s on the
arduino/setup-protoc@v3step with:The action calls the GitHub releases API to fetch the protoc binary and, without an explicit
repo-token, uses the per-IP unauthenticated quota (~60/hr). That quota is shared with every other workflow on the same hosted-runner egress IP and routinely exhausted on the macOS/Linux/Windows pools.Passing
repo-token: ${{ secrets.GITHUB_TOKEN }}makes the action authenticate as the workflow, lifting it onto our 5,000/hr token quota.Reproductions
The v0.4.0 release succeeded only because it happened to fall in a window when the runner pool's IP wasn't exhausted; we keep getting unlucky.
Test plan
🤖 Generated with Claude Code