anthropics / anthropics/claude-code-action

Add a `bun_version` input to avoid a duplicate setup-bun step

Abierto Apto para principiantes
#1,714 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:installation enhancement feature-request p3
Lenguaje dominante
TypeScript
Estrellas
8.9k
Forks
2.1k
Merge medio
3 d 9 h
PR fusionados (30 d)
10

Descripción

The action installs Bun itself, but pins the version (`1.3.14`). Consumers who need a different version must run `oven-sh/setup-bun` themselves and pass `path_to_bun_executable`, so Bun is set up twice in the workflow.

A `bun_version` input passed through to the action's own `setup-bun` step would remove the duplicate setup:

```yaml
- uses: anthropics/claude-code-action@v1
with:
bun_version: 1.4.0
```

This matters when a repo pins its runtime — `devEngines` with `onFail: "error"` rejects any other version, so the action's Bun breaks every command Claude runs.

It would also help #618: one action reference instead of two, so `oven-sh/setup-bun` no longer needs separate allowlisting.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by locating the action input definitions and its own oven-sh/setup-bun step. Trace how inputs reach that step, then verify that setting bun_version selects the requested Bun version and lets consumers remove their duplicate setup-bun step without breaking the action's commands.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
bun, github-actions, typescript
Área
ci-cd, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
74/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.