Compare commits
2 commits
cc504b8ec7
...
8de3392da8
Author | SHA1 | Date | |
---|---|---|---|
8de3392da8 | |||
d566ef1164 |
2 changed files with 17 additions and 1 deletions
16
.forgejo/workflows/claude.yml
Normal file
16
.forgejo/workflows/claude.yml
Normal 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 }}
|
|
@ -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(secrets._GITEA_URL, 'http://') || '' }}
|
tea login add --name mygitea --url "$GITEA_URL" --token "$GITEA_TOKEN" --insecure ${{ startsWith(inputs.GITEA_URL, 'http://') || '' }}
|
||||||
|
|
||||||
- name: Install bun
|
- name: Install bun
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue