Skip to content

Use default github token only on public github instance#1001

Open
luka5 wants to merge 2 commits intoanthropics:mainfrom
luka5:patch-1
Open

Use default github token only on public github instance#1001
luka5 wants to merge 2 commits intoanthropics:mainfrom
luka5:patch-1

Conversation

@luka5
Copy link

@luka5 luka5 commented Mar 3, 2026

This fixes #896 and replaces #913 the same way as it is done in oven-sh/setup-bun itself: oven-sh/setup-bun#157

Tested and works with GitHub Enterprise Server

@luka5
Copy link
Author

luka5 commented Mar 3, 2026

Update/second commit: Turns out, if you are on GHES and use bedrock, you must still provide the input github_token, otherwise we run into https://github.com/anthropics/claude-code-action/blob/main/src/github/token.ts#L77-L80 - even if we would not expect it.

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.

[Regression in v1.0.42] setup-bun token usage broken on GHES

1 participant