The Appview for the kipclip.com atproto bookmarking service
at main 42 lines 1.4 kB view raw
1name: Claude Code Review 2 3on: 4 pull_request: 5 types: [opened, synchronize, ready_for_review, reopened] 6 # Optional: Only run on specific file changes 7 # paths: 8 # - "src/**/*.ts" 9 # - "src/**/*.tsx" 10 # - "src/**/*.js" 11 # - "src/**/*.jsx" 12 13jobs: 14 claude-review: 15 # Optional: Filter by PR author 16 # if: | 17 # github.event.pull_request.user.login == 'external-contributor' || 18 # github.event.pull_request.user.login == 'new-developer' || 19 # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' 20 runs-on: ubuntu-latest 21 permissions: 22 contents: read 23 pull-requests: read 24 issues: read 25 id-token: write 26 27 steps: 28 - name: Checkout repository 29 uses: actions/checkout@v4 30 with: 31 fetch-depth: 1 32 33 - name: Run Claude Code Review 34 id: claude-review 35 uses: anthropics/claude-code-action@v1 36 with: 37 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} 38 plugin_marketplaces: "https://github.com/anthropics/claude-code.git" 39 plugins: "code-review@claude-code-plugins" 40 prompt: "/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}" 41 # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md 42 # or https://code.claude.com/docs/en/cli-reference for available options