ci: 指定 model 為 claude-sonnet-5,並設 RUNNER_TEMP=/tmp
job 層設 RUNNER_TEMP 避免 runner 預設暫存路徑不存在/不可寫。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
claude-response:
|
claude-response:
|
||||||
runs-on: yellow-zeabur-runner
|
runs-on: yellow-zeabur-runner
|
||||||
|
env:
|
||||||
|
RUNNER_TEMP: /tmp
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -24,6 +26,7 @@ jobs:
|
|||||||
claude_git_email: claude@anthropic.com
|
claude_git_email: claude@anthropic.com
|
||||||
path_to_claude_code_executable: /usr/local/bin/claude
|
path_to_claude_code_executable: /usr/local/bin/claude
|
||||||
claude_args: |
|
claude_args: |
|
||||||
|
--model claude-sonnet-5
|
||||||
--append-system-prompt "請一律使用繁體中文回覆,包含 issue/PR 留言、commit message 說明文字、todo list 項目。程式碼註解與變數命名維持英文慣例即可。"
|
--append-system-prompt "請一律使用繁體中文回覆,包含 issue/PR 留言、commit message 說明文字、todo list 項目。程式碼註解與變數命名維持英文慣例即可。"
|
||||||
env:
|
env:
|
||||||
GITEA_SERVER_URL: https://yellow-git.zeabur.app
|
GITEA_SERVER_URL: https://yellow-git.zeabur.app
|
||||||
Reference in New Issue
Block a user