Skip to content

ci: authenticate arduino/setup-protoc on ci.yml too#60

Open
Nic-dorman wants to merge 1 commit into
mainfrom
ci/setup-protoc-token-on-ci
Open

ci: authenticate arduino/setup-protoc on ci.yml too#60
Nic-dorman wants to merge 1 commit into
mainfrom
ci/setup-protoc-token-on-ci

Conversation

@Nic-dorman
Copy link
Copy Markdown
Collaborator

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`:

  • `Check (antd)` job (line 33)
  • `API contract tests (antd-rust)` job (line 75)

Mirrors release.yml's pattern verbatim. No semantic change — just shifts the action onto our authenticated 5,000/hr token quota.

Test plan

  • CI runs on this PR (the same ci.yml that's being patched)

🤖 Generated with Claude Code

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>
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.

1 participant