From 50dd1668457f7ce47bd8fba99bb8e26ec6a30686 Mon Sep 17 00:00:00 2001 From: cdecker Date: Mon, 3 Aug 2026 11:38:59 +0200 Subject: [PATCH] ci: Authenticate arduino/setup-task API requests 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 " 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. --- .github/workflows/check-self.yml | 4 ++-- .github/workflows/cln-version-manager-py.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-self.yml b/.github/workflows/check-self.yml index b5a277eff..f423b655a 100644 --- a/.github/workflows/check-self.yml +++ b/.github/workflows/check-self.yml @@ -21,8 +21,8 @@ jobs: - name: Install Task uses: arduino/setup-task@v2 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install the latest version of uv uses: astral-sh/setup-uv@v5 diff --git a/.github/workflows/cln-version-manager-py.yml b/.github/workflows/cln-version-manager-py.yml index 45aadf8a1..344267249 100644 --- a/.github/workflows/cln-version-manager-py.yml +++ b/.github/workflows/cln-version-manager-py.yml @@ -20,7 +20,9 @@ jobs: - name: Install Task uses: arduino/setup-task@v2 - + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Install the latest version of uv uses: astral-sh/setup-uv@v5 with: