Skip to content

Commit f9768e1

Browse files
authored
Update agent-docusarus-dev.yml
1 parent a30789a commit f9768e1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/agent-docusarus-dev.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)