From 05ca6cebcbdf3024c7577d7afafcaf58e8a9d086 Mon Sep 17 00:00:00 2001 From: Brandon Pereira Date: Fri, 10 Oct 2025 09:56:13 -0600 Subject: [PATCH] chore: attempt to make claude update last comment instead of a new one (#1255) --- .changeset/sweet-bees-lick.md | 5 +++++ .github/workflows/claude-code-review.yml | 17 ++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 .changeset/sweet-bees-lick.md diff --git a/.changeset/sweet-bees-lick.md b/.changeset/sweet-bees-lick.md new file mode 100644 index 00000000..722bf3ef --- /dev/null +++ b/.changeset/sweet-bees-lick.md @@ -0,0 +1,5 @@ +--- +"@hyperdx/app": patch +--- + +Attempt to make claude code reviews less chirpy diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 976e09e5..07d48267 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -17,14 +17,14 @@ jobs: # github.event.pull_request.user.login == 'external-contributor' || # github.event.pull_request.user.login == 'new-developer' || # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' - + runs-on: ubuntu-latest permissions: contents: read pull-requests: read issues: read id-token: write - + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -46,12 +46,15 @@ jobs: - Performance considerations - Security concerns - Test coverage - + Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback. - Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR. - + If you find any issues, use `gh pr comment --edit-last --create-if-none` with your Bash tool to leave your review as a comment on the PR. + This will create a new comment if none exists, or edit the last comment if one exists. + # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options - claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' - + claude_args: + '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh + issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr + view:*),Bash(gh pr list:*)"'