29 lines
685 B
YAML
29 lines
685 B
YAML
name: AI Code Review
|
|
|
|
on:
|
|
# Кнопка "Run workflow" в UI Gitea
|
|
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
|