AI-review
Some checks failed
AI Code Review / ai-review (pull_request) Failing after 8s

This commit is contained in:
2026-04-20 13:02:48 +02:00
parent 723072bd1e
commit 260b45637e
3 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
name: AI Code Review
on:
pull_request:
types: [opened, synchronize]
jobs:
ai-review:
runs-on: ubuntu-latest
container:
image: nikitafilonov/ai-review:latest
env:
AI_REVIEW_CONFIG_FILE_YAML: ./shared-prompts/iac/.ai-review.yaml
# VCS configuration
VCS__PROVIDER: GITEA
VCS__PIPELINE__OWNER: ${{ github.repository_owner }}
VCS__PIPELINE__REPO: ${{ github.event.repository.name }}
VCS__PIPELINE__PULL_NUMBER: ${{ github.event.pull_request.number }}
VCS__HTTP_CLIENT__API_URL: https://git.forteapps.net/api/v1
VCS__HTTP_CLIENT__API_TOKEN: ${{ secrets.AI_REVIEW_TOKEN }}
# LLM configuration
LLM__PROVIDER: CLAUDE
LLM__HTTP_CLIENT__API_TOKEN: ${{ secrets.ANTHROPIC_API_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run inline review
run: ai-review inline
- name: Run summary review
run: ai-review summary