diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index cddabdc..7199df3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -40,11 +40,13 @@ jobs: is_beta: ${{ env.IS_BETA == "true" }} - name: Setup LLM CLI uses: https://gitea.jsc.idv.tw/actions/setup-${{ vars.ACTION_SETUP_LLM_CLI }} + if: ${{ env.IS_BETA == 'true' }} with: oauth: ${{ secrets.LLM_OAUTH }} - name: Run AI Code Review - id: ai-code-review uses: https://gitea.jsc.idv.tw/actions/ai-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }} + id: ai-code-review + if: ${{ env.IS_BETA == 'true' }} with: token: ${{ secrets.TOKEN }} model: ${{ vars.LLM_NAME }}