chore: attempt to make claude update last comment instead of a new one (#1255)

This commit is contained in:
Brandon Pereira 2025-10-10 09:56:13 -06:00 committed by GitHub
parent eef3cb54d2
commit 05ca6cebcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 7 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
Attempt to make claude code reviews less chirpy

View file

@ -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:*)"'