anthropics / anthropics/claude-code-action

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

Offen
#233 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug p2
Vorherrschende Sprache
TypeScript
Sterne
8.9k
Forks
2.1k
Ø Merge
3 T. 9 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.