From b00579b257cac97993c6d557a94cad564b5affbf Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Sat, 29 Nov 2025 01:23:01 +0900 Subject: [PATCH] Remove automatic comment cleanup - GitHub handles outdated comments --- .github/workflows/claude-code.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/claude-code.yml b/.github/workflows/claude-code.yml index cec5505..7101be1 100644 --- a/.github/workflows/claude-code.yml +++ b/.github/workflows/claude-code.yml @@ -62,15 +62,6 @@ jobs: role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} 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 uses: anthropics/claude-code-action@v1 with: