feat(CI 工作流程): 僅在 beta 啟用 AI 審查
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user