Skip to content

fix(ci): Authenticate setup-protoc to avoid GitHub API rate limits - #478

Merged
volokluev merged 1 commit into
mainfrom
volokluev/setup-protoc-repo-token
Oct 22, 2026
Merged

volokluev merged 1 commit into
mainfrom
volokluev/setup-protoc-repo-token

Conversation

@volokluev

Copy link
Copy Markdown
Member

The codegen-rust job fails intermittently with API rate limit exceeded in the "Install protoc" step (e.g. https://github.com/getsentry/sentry-protos/actions/runs/39863013664/job/120118178282).

arduino/setup-protoc calls the GitHub releases API to resolve the protoc version. Without repo-token that request is unauthenticated, so it counts against the shared runner IP's 60 requests/hour limit. Passing GITHUB_TOKEN moves it to the authenticated limit. Applied to both ci.yml and docs.yml.

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.
@github-actions

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 22, 2026, 10:20 PM

@volokluev
volokluev merged commit c7a2e89 into main Oct 22, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants