defb6bb0a4
The plugin_marketplaces + plugins config triggered an OIDC token exchange that consistently fails with 401. Replace with a direct prompt, matching the pattern used in claude.yml which works reliably. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
898 B
YAML
31 lines
898 B
YAML
name: Claude Code Review
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, synchronize, ready_for_review, reopened]
|
|
|
|
jobs:
|
|
claude-review:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
issues: read
|
|
id-token: write
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Run Claude Code Review
|
|
id: claude-review
|
|
uses: anthropics/claude-code-action@v1
|
|
with:
|
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
|
prompt: >
|
|
Review this pull request for bugs, logic errors, security issues, and adherence to project
|
|
conventions. Focus only on high-confidence issues that genuinely matter. Skip style nitpicks.
|
|
Post your findings as inline review comments on the relevant lines.
|