Repository navigation
fix(ci): Authenticate setup-protoc to avoid GitHub API rate limits - #478
Merged
Merged
Conversation
arduino/setup-protoc queries the GitHub releases API to resolve the protoc version. Without a token, the request is unauthenticated and shares the runner IP's 60 req/hr limit, which makes codegen-rust fail intermittently.
|
The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).
|
skonves
approved these changes
Oct 22, 2026
4 tasks done
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.
The
codegen-rustjob fails intermittently withAPI rate limit exceededin the "Install protoc" step (e.g. https://github.com/getsentry/sentry-protos/actions/runs/39863013664/job/120118178282).arduino/setup-protoccalls the GitHub releases API to resolve the protoc version. Withoutrepo-tokenthat request is unauthenticated, so it counts against the shared runner IP's 60 requests/hour limit. PassingGITHUB_TOKENmoves it to the authenticated limit. Applied to bothci.ymlanddocs.yml.