mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
chore: attempt to make claude update last comment instead of a new one (#1255)
This commit is contained in:
parent
eef3cb54d2
commit
05ca6cebcb
2 changed files with 15 additions and 7 deletions
5
.changeset/sweet-bees-lick.md
Normal file
5
.changeset/sweet-bees-lick.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/app": patch
|
||||
---
|
||||
|
||||
Attempt to make claude code reviews less chirpy
|
||||
17
.github/workflows/claude-code-review.yml
vendored
17
.github/workflows/claude-code-review.yml
vendored
|
|
@ -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:*)"'
|
||||
|
|
|
|||
Loading…
Reference in a new issue