Files
proxmox/docs/04-configuration/GITEA_AI_REVIEW_SETUP.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

46 lines
1.2 KiB
Markdown

# Gitea AI Review (Claude) Setup
**Last Updated:** 2026-02-10
---
## Overview
The optional AI review workflow uses [markwylde/claude-code-gitea-action](https://github.com/markwylde/claude-code-gitea-action) to automatically review pull requests with Claude.
## Prerequisites
1. **ANTHROPIC_API_KEY** — From https://console.anthropic.com/
2. **GITEA_TOKEN** — Gitea personal access token with repo read/write
## Setup
1. Add secrets to Gitea (Repo or Org level):
- Settings → Secrets and Variables → Actions
- Add `ANTHROPIC_API_KEY`
- Add `GITEA_TOKEN`
2. Enable Actions on the repository:
- Settings → Enable Repository Actions
3. The workflow `.gitea/workflows/ai-review.yml` triggers on PR open/sync
## Usage
- **Automated:** Every new PR and each push gets a Claude review
- **Manual @claude:** Add a workflow that triggers on `issue_comment` with `@claude` for interactive review
## Optional: Interactive Claude
For on-demand review via comment, add to the workflow:
```yaml
on:
issue_comment:
types: [created]
pull_request:
types: [opened, synchronize]
```
Remove `direct_prompt` to use comment-triggered mode. Then comment `@claude Please review this PR` on any PR.