name: Claude PR Review

on:
  pull_request:
    types: [opened, synchronize] # Runs on new PRs and updates

jobs:
  claude-code:
    runs-on: ubuntu-latest
    steps:
      - name: Claude
        uses: https://git.kjan.de/actions/claude-pr-review@v1.0.4
        with:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
          GITEA_URL: ${{ secrets._GITEA_URL }}
          GITEA_CLAUDE_TOKEN: ${{ secrets._GITEA_TOKEN }}
