feat(CI 工作流程): 僅在 beta 啟用 AI 審查
CI / 2. TEST (pull_request) Successful in 45s
CI / 3. RESULT (pull_request) Has been skipped
CI / 1. BUILD (pull_request) Successful in 2s

This commit is contained in:
2026-07-11 06:30:30 +00:00
parent 140b9c6fb1
commit 5883abd306
+3 -1
View File
@@ -40,11 +40,13 @@ jobs:
is_beta: ${{ env.IS_BETA == "true" }} is_beta: ${{ env.IS_BETA == "true" }}
- name: Setup LLM CLI - name: Setup LLM CLI
uses: https://gitea.jsc.idv.tw/actions/setup-${{ vars.ACTION_SETUP_LLM_CLI }} uses: https://gitea.jsc.idv.tw/actions/setup-${{ vars.ACTION_SETUP_LLM_CLI }}
if: ${{ env.IS_BETA == 'true' }}
with: with:
oauth: ${{ secrets.LLM_OAUTH }} oauth: ${{ secrets.LLM_OAUTH }}
- name: Run AI Code Review - 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 }} 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: with:
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
model: ${{ vars.LLM_NAME }} model: ${{ vars.LLM_NAME }}