File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 shell : bash
5555 run : |
5656 npm install -g @anthropic-ai/claude-code
57- npm install --no-save @actions/core @actions/github axios
57+ cd ${{ github.action_path }}
58+ npm install @actions/core @actions/github axios
5859
5960 - name : Set up environment variables
6061 shell : bash
@@ -209,7 +210,8 @@ runs:
209210 - name : Execute runner script
210211 shell : bash
211212 run : |
212- node ${{ github.action_path }}/run.js
213+ cd ${{ github.action_path }}
214+ node run.js
213215 env :
214216 INPUT_MODE : ${{ inputs.mode }}
215217 INPUT_PR_NUMBER : ${{ inputs.pr-number }}
@@ -220,4 +222,4 @@ runs:
220222 INPUT_TEMPERATURE : ${{ inputs.temperature }}
221223 INPUT_USE_BEDROCK : ${{ inputs.use-bedrock }}
222224 INPUT_OUTPUT_FILE : ${{ inputs.output-file }}
223- GITHUB_TOKEN : ${{ inputs.github-token }}
225+ GITHUB_TOKEN : ${{ inputs.github-token }}
Original file line number Diff line number Diff line change 11{
22 "name" : " claude-code-github-action" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.1.3 " ,
44 "description" : " GitHub action for Claude Code Integration in PR comments and reviews" ,
55 "main" : " run.js" ,
66 "scripts" : {
2929 "dependencies" : {
3030 "@actions/core" : " ^1.10.1" ,
3131 "@actions/github" : " ^6.0.0" ,
32- "@anthropic-ai/claude-code" : " latest" ,
3332 "axios" : " ^1.6.7"
3433 }
35- }
34+ }
You can’t perform that action at this time.
0 commit comments