Compare commits

...

2 commits

Author SHA1 Message Date
8de3392da8 chore: Implement the action in its own repo
Some checks failed
Claude PR Review / claude (pull_request) Failing after 7s
2025-06-02 08:26:14 +02:00
d566ef1164 whoops 2025-06-02 08:25:11 +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_TOKEN: ${{ inputs.GITEA_CLAUDE_TOKEN }}
run: |
tea login add --name mygitea --url "$GITEA_URL" --token "$GITEA_TOKEN" --insecure ${{ startsWith(secrets._GITEA_URL, 'http://') || '' }}
tea login add --name mygitea --url "$GITEA_URL" --token "$GITEA_TOKEN" --insecure ${{ startsWith(inputs.GITEA_URL, 'http://') || '' }}
- name: Install bun
uses: oven-sh/setup-bun@v2