Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Claude Code Review
name: Code Review

on:
pull_request:
Expand Down Expand Up @@ -28,6 +28,14 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Request Copilot review
run: |
gh pr edit "$PR_NUMBER" -R "$REPO" --add-reviewer @copilot
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}

- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ Org-wide shared workflows and configurations for **taptap**.

## Reusable Workflows

### Claude Code Review
### Code Review

AI-powered pull request review using [Claude Code Action](https://github.com/anthropics/claude-code-action). It reviews every non-draft PR for code quality, correctness, and security, posting inline comments on specific lines.
AI-powered pull request review using [Claude Code Action](https://github.com/anthropics/claude-code-action) and [GitHub Copilot](https://docs.github.com/en/copilot). It reviews every non-draft PR for code quality, correctness, and security, posting inline comments on specific lines.

#### Usage

Create `.github/workflows/claude-code-review.yml` in your repo:
Create `.github/workflows/code-review.yml` in your repo:

```yaml
name: Claude Code Review
name: Code Review

on:
pull_request:
Expand All @@ -26,7 +26,7 @@ permissions:

jobs:
review:
uses: taptap/.github/.github/workflows/claude-code-review.yml@main
uses: taptap/.github/.github/workflows/code-review.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
# ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }} # optional
Expand Down
Loading