Skip to content

Commit 35b3ef7

Browse files
Anand SanmukhaniAnand Sanmukhani
authored andcommitted
fix claude review workflow
1 parent a4f1ede commit 35b3ef7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 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

@@ -35,7 +35,7 @@ jobs:
3535
id: claude-review
3636
uses: anthropics/claude-code-action@v1
3737
with:
38-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3939
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
4040
plugins: 'code-review@claude-code-plugins'
4141
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'

0 commit comments

Comments
 (0)