Files
filwordspl-backend/.gitea/workflows/ai-review.yml
T

28 lines
641 B
YAML

name: AI Code Review
on:
workflow_dispatch:
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install httpx
- name: Run AI review
env:
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
GITEA_INSTANCE: https://git.filwordspl.com
GITEA_REPO: Drobysh/filwordspl-backend
run: python scripts/ai_review.py