Skip to content

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

@ef-trss

Description

@ef-trss

Describe the bug
This commit (merged in #861) breaks installs GitHub Enterprise Server (GHES) because it expects a token valid for github.com.

To Reproduce
Steps to reproduce the behavior:

  1. Run GitHub Enterprise Server
  2. Setup GitHub Actions workflow using anthropics/claude-code-action per official docs
  3. Trigger action
  4. See error

Expected behavior
This action, along with the setup-bun action, should minimize use of GitHub API to avoid API limits rather than requiring token usage. Alternatively, expose a separate input to be passed to setup-bun rather than defaulting to the token passed to claude-code-action as this one is needed for interacting with GHES repositories.

Screenshots

Image

Workflow yml file

Image

API Provider

[ ] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:installationbugSomething isn't workingp1Showstopper bug preventing substantial subset of users from using the product, or incorrect docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions