fix(ci): move PR review off exhausted Z.ai quota
This commit is contained in:
@@ -12,7 +12,7 @@ on:
|
|||||||
model:
|
model:
|
||||||
description: Model in provider/model format
|
description: Model in provider/model format
|
||||||
required: true
|
required: true
|
||||||
default: zai-coding-plan/glm-5.2
|
default: opencode-go/deepseek-v4-flash
|
||||||
type: string
|
type: string
|
||||||
opencode_version:
|
opencode_version:
|
||||||
description: OpenCode version, with or without a leading v, or latest
|
description: OpenCode version, with or without a leading v, or latest
|
||||||
@@ -92,7 +92,6 @@ jobs:
|
|||||||
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
||||||
PROMPT: ${{ inputs.prompt }}
|
PROMPT: ${{ inputs.prompt }}
|
||||||
SMOKE_TIMEOUT_MINUTES: ${{ inputs.timeout_minutes }}
|
SMOKE_TIMEOUT_MINUTES: ${{ inputs.timeout_minutes }}
|
||||||
ZHIPU_API_KEY: ${{ secrets.ZHIPU_API_KEY }}
|
|
||||||
run: |
|
run: |
|
||||||
started_epoch="$(date +%s)"
|
started_epoch="$(date +%s)"
|
||||||
installed_version="$(opencode --version)"
|
installed_version="$(opencode --version)"
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ jobs:
|
|||||||
id: review-run
|
id: review-run
|
||||||
env:
|
env:
|
||||||
REVIEW_TIMEOUT: 30m
|
REVIEW_TIMEOUT: 30m
|
||||||
ZHIPU_API_KEY: ${{ secrets.ZHIPU_API_KEY }}
|
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
||||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
PR_URL: ${{ steps.pr.outputs.url }}
|
PR_URL: ${{ steps.pr.outputs.url }}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
mode: primary
|
mode: primary
|
||||||
hidden: true
|
hidden: true
|
||||||
model: zai-coding-plan/glm-5.2
|
model: opencode-go/deepseek-v4-flash
|
||||||
color: "#5b7cfa"
|
color: "#5b7cfa"
|
||||||
permission:
|
permission:
|
||||||
edit: deny
|
edit: deny
|
||||||
|
|||||||
Reference in New Issue
Block a user