ci: authenticate arduino/setup-protoc on ci.yml too#60
Open
Nic-dorman wants to merge 1 commit into
Open
Conversation
Mirrors PR #31's release.yml fix — without `repo-token`, the action issues the GitHub release-list API call anonymously and shares the ~60/hr per-IP quota with every other runner on the same egress IP. release.yml has had the auth since 2026-04-28; ci.yml didn't, and PR #57's post-merge CI run flaked here on 2026-05-06 (run 25447450352 job 'API contract tests (antd-rust)' — exact `arduino/setup-protoc@v3 ... API rate limit exceeded` message reproduced from PR #31's investigation). Adds `repo-token: \${{ secrets.GITHUB_TOKEN }}` to both occurrences in ci.yml — the Check (antd) job at line 33 and the API contract tests job at line 75. No semantic change to either workflow; just shifts the action 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
Mirrors #31's release.yml fix on ci.yml. Without `repo-token`, `arduino/setup-protoc@v3` issues its release-list API call anonymously and shares the ~60/hr per-IP quota with every other runner on the same egress IP. release.yml has been authed since #31 (2026-04-28); ci.yml never was, so the same flake just bit PR #57's post-merge CI run (#25447450352) on the API contract tests job — exact `arduino/setup-protoc@v3 ... API rate limit exceeded` repro of #31's investigation.
PR #57 itself was already merged before its post-merge CI completed (auto-merge triggered on the previous run that did pass), so no code on main is affected. This patch just stops the flake from biting future PRs.
Change
Adds `repo-token: ${{ secrets.GITHUB_TOKEN }}` to both `arduino/setup-protoc@v3` invocations in `.github/workflows/ci.yml`:
Mirrors release.yml's pattern verbatim. No semantic change — just shifts the action onto our authenticated 5,000/hr token quota.
Test plan
🤖 Generated with Claude Code