diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml deleted file mode 100644 index 904c12b..0000000 --- a/.github/workflows/claude-code-review.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Claude Code Review - -on: - pull_request: - types: [labeled] - -jobs: - claude-review: - # Only run when: - # 1. 'claude-review' label is added - # 2. PR is from same repo (not a fork) - forks can't access secrets - if: | - contains(github.event.pull_request.labels.*.name, 'claude-review') && - github.event.pull_request.head.repo.full_name == github.repository - - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: read - 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 }} - plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' - plugins: 'code-review@claude-code-plugins' - prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'