mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
Remove automatic comment cleanup - GitHub handles outdated comments
This commit is contained in:
9
.github/workflows/claude-code.yml
vendored
9
.github/workflows/claude-code.yml
vendored
@@ -62,15 +62,6 @@ jobs:
|
|||||||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
|
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
|
||||||
aws-region: us-east-1
|
aws-region: us-east-1
|
||||||
|
|
||||||
- name: Clean up outdated review comments
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
# Delete all previous review comments from github-actions bot
|
|
||||||
gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments \
|
|
||||||
--jq '.[] | select(.user.login == "github-actions[bot]") | .id' | \
|
|
||||||
xargs -I {} gh api repos/${{ github.repository }}/pulls/comments/{} -X DELETE 2>/dev/null || true
|
|
||||||
|
|
||||||
- name: Run Claude Code PR Review
|
- name: Run Claude Code PR Review
|
||||||
uses: anthropics/claude-code-action@v1
|
uses: anthropics/claude-code-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user