Update .github/workflows/code-review.yaml

This commit is contained in:
2026-01-14 16:03:26 -05:00
parent 42157812e3
commit af3029c05a

View File

@@ -2,7 +2,7 @@ name: Code review
on: on:
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened, labeled]
jobs: jobs:
review: review:
@@ -15,8 +15,8 @@ jobs:
git checkout ${{ github.event.pull_request.head.sha }} git checkout ${{ github.event.pull_request.head.sha }}
git fetch origin ${{ github.event.pull_request.base.ref }} git fetch origin ${{ github.event.pull_request.base.ref }}
- name: Run AI Review - name: Create review
run: npx -y @ztimson/ai-agents@latest review run: npx -y -p @ztimson/ai-agents@latest review $GITHUB_WORKSPACE
env: env:
AI_HOST: anthropic AI_HOST: anthropic
AI_MODEL: claude-sonnet-4-5 AI_MODEL: claude-sonnet-4-5