ci: Authenticate arduino/setup-task API requests - #738
Merged
Conversation
cdecker
force-pushed
the
2026w32-ci-setup-task-auth
branch
from
August 3, 2026 10:17
77aa024 to
0808819
Compare
The action queries the GitHub API to resolve and download the Task release. Unauthenticated, those requests are rate limited per runner IP, which is shared across all GitHub-hosted runners. When that budget is exhausted the step fails with "API rate limit exceeded for <ip>" a few seconds into the job, failing otherwise healthy pipelines. Pass `repo-token` so the requests are authenticated and get the larger per-token allowance. `check-self.yml` already attempted this, but set `GH_TOKEN` in the step env. The action only reads the `repo-token` input, so it had no effect and that job was unauthenticated too.
cdecker
force-pushed
the
2026w32-ci-setup-task-auth
branch
from
August 3, 2026 10:49
0808819 to
50dd166
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.
arduino/setup-taskqueries the GitHub API to resolve and download the Taskrelease. Unauthenticated, those requests are rate limited per runner IP, and
that budget is shared across all GitHub-hosted runners. When it is exhausted
the step fails a few seconds into the job with:
This took down the
ClnVersionManager / sourcejob on an unrelated PR, andwill keep doing so at random. Passing
repo-tokenauthenticates the requestsso they get the much larger per-token allowance.
check-self.ymlalready tried to do this, but setGH_TOKENin the step'senv. The action reads only therepo-tokeninput — itsaction.ymldeclares no env fallback — so that had no effect and the job was
unauthenticated too. Switched to the input.