Skip to content

Commit 7281d8e

Browse files
committed
Fixed kimi pr review
1 parent d3e48cb commit 7281d8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr_review_kimi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ jobs:
120120
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121121
PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
122122
run: |
123-
gh pr comment $PR_NUMBER --body-file kimi_review.txt --body-prefix "## Kimi AI Code Review
123+
echo "<details><summary><h2>Kimi AI Code Review</h2></summary>" > body.md
124+
cat kimi_review.txt >> body.md
125+
echo -e "\n---\n*Automated review by Kimi (Moonshot AI)*\n</details>" >> body.md
124126
125-
" --body-suffix "
127+
gh pr comment ${{ github.event.pull_request.number }} --body-file body.md
126128
127-
---
128-
*Automated review by Kimi (Moonshot AI)*"

0 commit comments

Comments
 (0)