From 3efba6d57588199fc1fee2e0a7e1e47ecbc686ac Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Fri, 3 Apr 2026 13:27:47 -0700 Subject: [PATCH] fix: trying to fix qodo --- .github/workflows/qodo_review.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/qodo_review.yml b/.github/workflows/qodo_review.yml index a4137aa..7b683f6 100644 --- a/.github/workflows/qodo_review.yml +++ b/.github/workflows/qodo_review.yml @@ -11,15 +11,20 @@ jobs: - name: Run Qodo Merge uses: https://github.com/Codium-ai/pr-agent@main env: - # Platform Settings CONFIG.GIT_PROVIDER: "gitea" + GITEA.URL: "https://git.gophernest.net" GITEA.PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }} - - # AI Settings - CONFIG.MODEL_PROVIDER: "google" - GOOGLE.API_KEY: ${{ secrets.GEMINI_API_KEY }} - CONFIG.MODEL: "google/gemini-3-flash" # The 2026 standard for fast reviews - - # Automation - GITEA.PR_OPENED_COMMANDS: '["/review", "/describe"]' \ No newline at end of file + + # MANDATORY: Even on Gitea, the Action wrapper often looks for this name + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + + # KEY CHANGE: The variable name MUST be this for AI Studio + GOOGLE_AI_STUDIO.GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} + + # KEY CHANGE: The model name MUST have the 'gemini/' prefix + CONFIG.MODEL: "gemini/gemini-3-flash" + + # Ensures it runs even if you just push code to an existing PR + GITEA.PR_OPENED_COMMANDS: '["/review", "/describe"]' + GITEA.PR_SYNCHRONIZED_COMMANDS: '["/review"]'