anthropics / anthropics/claude-code-action

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

Ouverte
#233 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug p2
Langage dominant
TypeScript
Étoiles
8.9k
Forks
2.1k
Merge moyen
3 j 9 h
PR mergées (30 j)
10

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.