fix: again dude wtf
This commit is contained in:
parent
e54d49109e
commit
b9e9fb2f5f
18
.github/workflows/qodo_review.yml
vendored
18
.github/workflows/qodo_review.yml
vendored
@ -11,26 +11,24 @@ jobs:
|
||||
- name: Run Qodo Merge
|
||||
uses: https://github.com/Codium-ai/pr-agent@main
|
||||
env:
|
||||
# --- Git Provider Configuration ---
|
||||
# --- 1. Git Provider Setup ---
|
||||
CONFIG__GIT_PROVIDER: "gitea"
|
||||
GITEA__URL: "https://git.gophernest.net"
|
||||
|
||||
# Using your specific secret name: GIT_TOKEN
|
||||
GITEA__PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
|
||||
# --- AI Provider Configuration (Gemini) ---
|
||||
# --- 2. AI Provider Setup (Gemini 3) ---
|
||||
CONFIG__MODEL_PROVIDER: "google"
|
||||
GOOGLE_AI_STUDIO__GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||
CONFIG__MODEL: "gemini/gemini-1.5-flash"
|
||||
CONFIG__MODEL: "gemini/gemini-1.5-pro"
|
||||
|
||||
# --- Event Handling Fixes ---
|
||||
# This line forces the bot to process 'synchronize' (push) events
|
||||
# --- 3. THE FIX: Force the bot to stop skipping 'synchronize' ---
|
||||
# This variable explicitly adds 'synchronize' to the allowed triggers
|
||||
GITHUB_ACTION_CONFIG__PR_ACTIONS: '["opened", "reopened", "synchronize"]'
|
||||
|
||||
# Automatic commands to run on specific events
|
||||
# Tell it what to do when those events happen
|
||||
GITEA__PR_OPENED_COMMANDS: '["/review", "/describe"]'
|
||||
GITEA__PR_SYNCHRONIZED_COMMANDS: '["/review"]'
|
||||
|
||||
# Optional: Extra flavor for your Go editor
|
||||
PR_REVIEWER__EXTRA_INSTRUCTIONS: "Focus on Go concurrency and terminal UI performance."
|
||||
# --- 4. Extra Context for your Go project ---
|
||||
PR_REVIEWER__EXTRA_INSTRUCTIONS: "This is a Go-based vim-like text editor. Focus on concurrency safety and efficient TUI rendering logic."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user