File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -165,13 +165,19 @@ jobs:
165165 # Save prompt to file
166166 echo "$PROMPT" > /tmp/review-prompt.txt
167167 echo "Review prompt prepared successfully"
168+
169+ # Read system prompt for append_system_prompt
170+ SYSTEM_PROMPT=$(cat /tmp/system-prompt.md)
171+ echo "system_prompt<<EOF" >> $GITHUB_OUTPUT
172+ echo "$SYSTEM_PROMPT" >> $GITHUB_OUTPUT
173+ echo "EOF" >> $GITHUB_OUTPUT
168174
169175 - name : Run Claude Code Review
170176 id : claude-review
171177 uses : anthropics/claude-code-base-action@beta
172178 with :
173179 prompt_file : /tmp/review-prompt.txt
174- system_prompt_file : /tmp/system -prompt.md
180+ append_system_prompt : ${{ steps.prepare -prompt.outputs.system_prompt }}
175181 allowed_tools : " " # Empty string allows all tools
176182 anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
177183 timeout_minutes : " 45"
You can’t perform that action at this time.
0 commit comments