Compare commits
4 commits
abac1fea78
...
cc504b8ec7
Author | SHA1 | Date | |
---|---|---|---|
cc504b8ec7 | |||
131b83733b | |||
7984d3c7fa |
|||
348ccea655 |
3 changed files with 22 additions and 8 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,14 +47,6 @@ 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: |
|
||||||
if [ -z "$GITEA_URL" ]; then
|
|
||||||
echo "Error: GITEA_URL secret is not set."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
if [ -z "$GITEA_TOKEN" ]; then
|
|
||||||
echo "Error: GITEA_TOKEN secret is not set."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
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(secrets._GITEA_URL, 'http://') || '' }}
|
||||||
|
|
||||||
- name: Install bun
|
- name: Install bun
|
||||||
|
|
6
renovate.json
Normal file
6
renovate.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"local>Renovate/renovate-config"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue