Skip to content

Commit 05ca6ce

Browse files
chore: attempt to make claude update last comment instead of a new one (#1255)
1 parent eef3cb5 commit 05ca6ce

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.changeset/sweet-bees-lick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
Attempt to make claude code reviews less chirpy

.github/workflows/claude-code-review.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
# github.event.pull_request.user.login == 'external-contributor' ||
1818
# github.event.pull_request.user.login == 'new-developer' ||
1919
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
20-
20+
2121
runs-on: ubuntu-latest
2222
permissions:
2323
contents: read
2424
pull-requests: read
2525
issues: read
2626
id-token: write
27-
27+
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
@@ -46,12 +46,15 @@ jobs:
4646
- Performance considerations
4747
- Security concerns
4848
- Test coverage
49-
49+
5050
Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
5151
52-
Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
53-
52+
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.
53+
This will create a new comment if none exists, or edit the last comment if one exists.
54+
5455
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
5556
# or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options
56-
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:*)"'
57-
57+
claude_args:
58+
'--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh
59+
issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr
60+
view:*),Bash(gh pr list:*)"'

0 commit comments

Comments
 (0)