From bf6fee7cb7646c2e5e603bfb4ba7ee47f52aea75 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 22:42:48 +0000 Subject: [PATCH] ci: authenticate Task installer to avoid GitHub API rate limits The arduino/setup-task action fetches the Task binary via the GitHub Releases API. Without a token it uses the shared unauthenticated rate limit keyed on the runner IP, which intermittently fails with "API rate limit exceeded" (as seen on the latest main run). Pass GITHUB_TOKEN via repo-token so these API calls are authenticated and use the much higher per-repository limit. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01FstBAPLBVvz6nACvtRSri9 --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2203e9c..21e3033 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,8 @@ jobs: uses: arduino/setup-task@v3 with: version: 3.x - + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Run tests run: task test @@ -39,6 +40,7 @@ jobs: uses: arduino/setup-task@v3 with: version: 3.x + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Run lightweight fuzz tests run: task fuzz-ci @@ -57,6 +59,7 @@ jobs: uses: arduino/setup-task@v3 with: version: 3.x - + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build run: task build