anthropics / anthropics/claude-code-action

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

未关闭
#233 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug p2
主要语言
TypeScript
星标
8.9k
派生
2.1k
平均合并
3 天 9 小时
30 天内合并 PR
10

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。