anthropics / anthropics/claude-code-action

Claude Code stopped working after adding the path parameter in the repository checkout step

Abierto
#233 4 comentarios 0 reacciones 0 asignados Ver en GitHub
bug p2
Lenguaje dominante
TypeScript
Estrellas
8.9k
Forks
2.1k
Merge medio
3 d 9 h
PR fusionados (30 d)
10

Descripción

The Claude Code stopped working after adding the path parameter in the repository checkout step.
I also tried running cd into the target path before executing Claude, but it didn’t help.
Do you have any suggestions or solutions to fix this issue?

env:
SUB_FOLDER_PATH: sub_folder

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: ${{ env.SUB_FOLDER_PATH }}
fetch-depth: 1
- name: Code Review
uses: anthropics/claude-code-action@beta
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
direct_prompt: |
Please review this pull request

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.