doc
All checks were successful
AI Code Review / ai-review (pull_request) Successful in 13s

This commit is contained in:
2026-04-21 09:38:36 +02:00
parent a3507fd7f1
commit c4f6a1c028

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`)