AI-review #6

Merged
gitea_admin merged 12 commits from feature/ai-review into main 2026-04-21 08:20:41 +00:00
Showing only changes of commit c4f6a1c028 - Show all commits

View File

@@ -940,10 +940,10 @@ ignore:
| Secret | Purpose | | Secret | Purpose |
|--------|---------| |--------|---------|
| `ANTHROPIC_API_KEY` | Claude API key (from Anthropic console) | | `ANTHROPIC_API_KEY` | Claude API key (from Anthropic console) |
| `AI_REVIEW_TOKEN` | Gitea API token with `write:issue` + `read:repository` scopes (use a bot/service account) | | `AI_REVIEW_TOKEN` | Gitea API token with `write:repository` + `read:repository` scopes (use a bot/service account) |
**Setup Steps**: **Setup Steps**:
1. Create a Gitea bot/service account and generate an API token with `write:issue` + `read:repository` scopes 1. Create a Gitea bot/service account and generate an API token with `write:repository` + `read:repository` scopes
2. Add `AI_REVIEW_TOKEN` secret in Gitea repo settings → Actions → Secrets 2. Add `AI_REVIEW_TOKEN` secret in Gitea repo settings → Actions → Secrets
3. Add `ANTHROPIC_API_KEY` secret with your Anthropic API key 3. Add `ANTHROPIC_API_KEY` secret with your Anthropic API key
4. Ensure the `shared-prompts` submodule is initialized (`git submodule update --init`) 4. Ensure the `shared-prompts` submodule is initialized (`git submodule update --init`)