Skip to content

Commit 09c6ec7

Browse files
committed
sticky comments
1 parent f00bc9b commit 09c6ec7

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
permissions:
2323
contents: read
24-
pull-requests: read
24+
pull-requests: write
2525
issues: read
2626
id-token: write
2727

@@ -36,6 +36,7 @@ jobs:
3636
uses: anthropics/claude-code-action@v1
3737
with:
3838
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
39+
use_sticky_comment: true
3940
prompt: |
4041
REPO: ${{ github.repository }}
4142
PR NUMBER: ${{ github.event.pull_request.number }}
@@ -49,9 +50,7 @@ jobs:
4950
5051
Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
5152
52-
Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
53-
5453
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
5554
# or https://code.claude.com/docs/en/cli-reference 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:*)"'
55+
claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'
5756

AGENTS.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ from codeflash.code_utils.git_worktree_utils import create_detached_worktree, re
6565
- **Naming**: Prefer public functions (no leading underscore) - Python doesn't have true private functions
6666
- **Paths**: Always use absolute paths, handle encoding explicitly (UTF-8)
6767

68-
## PR Review Guidelines
69-
70-
- **Limit review scope** - only review code actually modified in the PR, not other parts of the codebase
71-
- **Single comment** - consolidate all feedback into one comment per review
72-
- **Edit existing comments** - if you already commented on the PR, edit that comment instead of creating a new one
73-
7468
# Agent Rules <!-- tessl-managed -->
7569

7670
@.tessl/RULES.md follow the [instructions](.tessl/RULES.md)

0 commit comments

Comments
 (0)