Pass repo-token to binary downloads to avoid rate limiting#2
Merged
thangktran merged 2 commits intomasterfrom Feb 3, 2026
Merged
Pass repo-token to binary downloads to avoid rate limiting#2thangktran merged 2 commits intomasterfrom
thangktran merged 2 commits intomasterfrom
Conversation
Copilot
AI
changed the title
[WIP] Fix Protoc pipeline to use GH_TOKEN for rate limits
Pass repo-token to all test-integration workflow jobs
Jan 29, 2026
Copilot stopped work on behalf of
Akaame due to an error
February 2, 2026 20:39
Copilot
AI
changed the title
Pass repo-token to all test-integration workflow jobs
Pass repo-token to binary downloads to avoid rate limiting
Feb 3, 2026
638df64 to
d9006af
Compare
d9006af to
9828328
Compare
ee1ca04 to
36b8918
Compare
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 action was hitting GitHub's rate limit (60/hr unauthenticated) when downloading protoc binaries. The
repo-tokenparameter was only being used for release API calls, not for the actual binary downloads viatc.downloadTool().Changes
downloadRelease(): Now accepts and usesrepoTokenparametergetProtoc(): PassesrepoTokenthrough todownloadRelease()tc.downloadTool(): Now called with authentication headerWhen
repo-token: ${{ secrets.GITHUB_TOKEN }}is provided, downloads are authenticated (5000/hr limit vs 60/hr).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/protocolbuffers/protobuf/releases/usr/local/bin/node node /home/REDACTED/work/setup-protoc/setup-protoc/node_modules/.bin/jest(http block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.