From e792e14a0f26d73459c25707992593b0a776aae1 Mon Sep 17 00:00:00 2001 From: ar9708 Date: Tue, 7 Oct 2025 12:10:43 +0200 Subject: [PATCH] Give up on cross-repo fork PR reviews I tried here, https://github.com/ar9708/web-client/issues/1, and here, https://github.com/ar9708/web-client/pull/2, but even when the `ANTHROPIC_API_KEY` is picked up, it does nothing good. Let us give up and start making the PRs in branches on OwnTube/web-client upstream instead for a while. Ping @mykhailodanilenko FYI! --- .github/workflows/claude-review.yml | 37 ----------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/claude-review.yml diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml deleted file mode 100644 index 1bc269d7..00000000 --- a/.github/workflows/claude-review.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: PR Review - -on: - pull_request: - types: [opened, synchronize, ready_for_review, reopened] - -jobs: - review: - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - id-token: write - steps: - - name: Check for Anthropic API key - run: | - if [ -z "${{ secrets.ANTHROPIC_API_KEY }}" ] && [ -z "${{ vars.ANTHROPIC_API_KEY }}" ]; then - echo "No ANTHROPIC_API_KEY found - skipping Claude Code action" - echo "SKIP_CLAUDE=true" >> $GITHUB_OUTPUT - fi - id: check-api-key - - - name: Checkout repository - if: steps.check-api-key.outputs.SKIP_CLAUDE != 'true' - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: PR Review with Progress Tracking - if: steps.check-api-key.outputs.SKIP_CLAUDE != 'true' - uses: anthropics/claude-code-action@v1 - with: - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - - prompt: "/review-pr REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.pull_request.number }}" - claude_args: | - --allowedTools "mcp__github_inline_comment__create_inline_comment"