Compare commits

...

2 commits

Author SHA1 Message Date
c0954ba020 chore: Implement the action in its own repo
Some checks failed
Claude PR Review / claude (pull_request) Failing after 8s
2025-06-02 08:28:45 +02:00
1878fa8a57 pls 2025-06-02 08:27:57 +02:00
2 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,16 @@
name: Claude PR Review
on:
pull_request:
types: [opened, synchronize]
jobs:
claude:
runs-on: ubuntu-latest
steps:
- name: Claude
uses: https://git.kjan.de/actions/claude-pr-review@main
with:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GITEA_URL: ${{ secrets._GITEA_URL }}
GITEA_CLAUDE_TOKEN: ${{ secrets._GITEA_CLAUDE_TOKEN }}

View file

@ -47,7 +47,7 @@ runs:
GITEA_URL: ${{ inputs.GITEA_URL }} GITEA_URL: ${{ inputs.GITEA_URL }}
GITEA_TOKEN: ${{ inputs.GITEA_CLAUDE_TOKEN }} GITEA_TOKEN: ${{ inputs.GITEA_CLAUDE_TOKEN }}
run: | run: |
tea login add --name mygitea --url "$GITEA_URL" --token "$GITEA_TOKEN" --insecure ${{ startsWith(inputs.GITEA_URL, 'http://') || '' }} tea login add --name mygitea --url "$GITEA_URL" --token "$GITEA_TOKEN"
- name: Install bun - name: Install bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2