Skip to content
Merged
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
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
pull_request:
types: [opened, synchronize]
branches: [main]

permissions:
Expand Down Expand Up @@ -46,6 +47,8 @@ jobs:
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
use_sticky_comment: true
prompt: |
Review this PR for:
1. Code quality and adherence to the project's TypeScript strict mode requirements
Expand All @@ -61,9 +64,8 @@ jobs:
name: Auto-merge PR
needs: [test, claude-review]
runs-on: ubuntu-latest
if: |
github.event.pull_request.head.repo.full_name == github.repository &&
(github.actor == 'dependabot[bot]' || contains(github.event.pull_request.labels.*.name, 'automerge'))
# Only auto-merge PRs from the same repo (not forks) for security
if: github.event.pull_request.head.repo.full_name == github.repository

steps:
- name: Checkout code
Expand Down