Skip to content

Commit 59fa6db

Browse files
committed
test
1 parent 4534849 commit 59fa6db

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/claude-code-review.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,24 @@ jobs:
123123
FILES_COUNT=$(cat "pr_${PR_NUMBER}_files.json" | jq length)
124124
125125
# Create analysis prompt for Claude
126-
cat > "claude_prompt_${PR_NUMBER}.txt" << EOF
127-
Please analyze this pull request and provide a concise summary.
126+
cat > "claude_prompt_${PR_NUMBER}.txt" << 'PROMPT_EOF'
127+
Please analyze this pull request and provide a concise summary.
128128
129-
PR Title: $PR_TITLE
130-
PR Description: $PR_BODY
131-
Files changed: $FILES_COUNT
129+
PR Title: $PR_TITLE
130+
PR Description: $PR_BODY
131+
Files changed: $FILES_COUNT
132132
133-
Key files modified:
134-
\$(cat "pr_${PR_NUMBER}_files.json" | jq -r '.[] | "- \(.filename) (\(.status)) +\(.additions)/-\(.deletions)"' | head -10)
133+
Key files modified:
134+
\$(cat "pr_${PR_NUMBER}_files.json" | jq -r '.[] | "- \(.filename) (\(.status)) +\(.additions)/-\(.deletions)"' | head -10)
135135
136-
Please provide:
137-
1. A brief summary of what this PR does (2-3 sentences)
138-
2. The main technical changes or features added
139-
3. Any potential impact or risks you notice
140-
4. Overall assessment (bug fix, feature, refactor, etc.)
136+
Please provide:
137+
1. A brief summary of what this PR does (2-3 sentences)
138+
2. The main technical changes or features added
139+
3. Any potential impact or risks you notice
140+
4. Overall assessment (bug fix, feature, refactor, etc.)
141141
142-
Keep the response concise and focused on the key changes.
143-
EOF
142+
Keep the response concise and focused on the key changes.
143+
PROMPT_EOF
144144
145145
echo "🤖 Claude Analysis:"
146146

0 commit comments

Comments
 (0)