Skip to content

Commit 61474b8

Browse files
authored
chore: fix Claude sticky comments in PR reviews (#407)
Sticky comments only work when Claude uses the default Claude[bot] user. When we pass a custom token, it uses git github-actions[bot] user and sticky comments don't work.
1 parent 3f69353 commit 61474b8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/_claude-code.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979
if: inputs.mode == 'interactive'
8080
uses: anthropics/claude-code-action@v1
8181
with:
82-
github_token: ${{ secrets.GITHUB_TOKEN }}
8382
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
8483
track_progress: ${{ inputs.track_progress }}
8584
additional_permissions: |
@@ -95,7 +94,6 @@ jobs:
9594
if: inputs.mode == 'automation'
9695
uses: anthropics/claude-code-action@v1.0.29
9796
with:
98-
github_token: ${{ secrets.GITHUB_TOKEN }}
9997
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
10098
track_progress: ${{ inputs.track_progress }}
10199
use_sticky_comment: ${{ inputs.use_sticky_comment }}

0 commit comments

Comments
 (0)