Skip to content

Allow passing a GitHub token to authenticate CLI downloads#45

Merged
axelniklasson merged 1 commit into
mainfrom
axelniklasson/FEA-12043
Jun 5, 2026
Merged

Allow passing a GitHub token to authenticate CLI downloads#45
axelniklasson merged 1 commit into
mainfrom
axelniklasson/FEA-12043

Conversation

@axelniklasson

@axelniklasson axelniklasson commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

What

Adds a github_token input so the Linear Release CLI download can be authenticated, avoiding the anonymous rate limit that can fail downloads on busy or shared runners. Defaults to the workflow’s automatic token, but a custom token can be passed if desired.

Closes #43

🤖 Generated with Claude Code

Unauthenticated downloads of the Linear Release CLI hit GitHub's
anonymous, per-IP rate limit, which fails on busy or shared CI runners.

Add a github_token input (defaulting to the workflow's automatic token)
that install.sh uses to authenticate the curl request for a higher rate
limit. curl drops the header on the cross-host redirect to the asset CDN,
so the token is only ever sent to github.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jun 5, 2026

Copy link
Copy Markdown

FEA-12043

@axelniklasson axelniklasson changed the title Allow passing a GitHub token to authenticate CLI downloads (FEA-12043) Allow passing a GitHub token to authenticate CLI downloads Jun 5, 2026
@axelniklasson axelniklasson requested a review from RomainCscn June 5, 2026 08:21
@axelniklasson axelniklasson merged commit 16b70fd into main Jun 5, 2026
5 checks passed
@axelniklasson axelniklasson deleted the axelniklasson/FEA-12043 branch June 5, 2026 09:09
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.

Allow passing a GitHub token to avoid rate limiting when downloading the Linear release CLI

2 participants