Skip to content

ci: pass the workflow token to go-tools downloads - #54

Merged
aledbf merged 2 commits into
mainfrom
deps/go-tools-token
Nov 9, 2026
Merged

aledbf merged 2 commits into
mainfrom
deps/go-tools-token

Conversation

@aledbf

@aledbf aledbf commented Nov 9, 2026

Copy link
Copy Markdown
Member

go-tools 2b473b1 (spin-stack/go-tools#89): with GITHUB_TOKEN or GH_TOKEN set, a GitHub release download goes through the API, where a token counts, instead of anonymously; the token goes to api.github.com and nowhere else, and an error names the host that answered. GitHub's status page on 2026-11-08 and -09 names the 504s that failed CI: increased timeouts due to a surge in anonymous users. The workflows that run the tools now set GITHUB_TOKEN to the workflow's own token at workflow level.

Decision to confirm: workflows whose token can write are left without it in every step's environment: release.yml (contents: write). Their downloads stay anonymous (still retried). Adding it there exposes a write token to every step, including package installs.

Supersedes #53: carries its taskgate fix (-task {{.TASK_EXE}}) and bumps go-tools past it.

🤖 Generated with Claude Code

aledbf and others added 2 commits November 9, 2026 03:42
go-tools 1c70756 made taskgate check that every workflow step names a task the Taskfile has, by running `task --list-all`; Task is a go.mod tool here, not on PATH, so the gate failed with 'exec: "task": executable file not found'. -task {{.TASK_EXE}} hands it the Task already running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
go-tools 2b473b1 (spin-stack/go-tools#89): with GITHUB_TOKEN or GH_TOKEN set, a GitHub release download goes through the API, where a token counts, instead of anonymously; the token goes to api.github.com and nowhere else, and an error names the host that answered. GitHub's status page on 2026-11-08 and -09 names the 504s that failed CI: increased timeouts due to a surge in anonymous users. The workflows that run the tools now set GITHUB_TOKEN to the workflow's own token at workflow level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit 80d4637 into main Nov 9, 2026
11 of 12 checks passed
@aledbf
aledbf deleted the deps/go-tools-token branch November 9, 2026 07:00
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