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:
LittleYellow
2026-07-26 09:36:20 +08:00
parent 238e57e4db
commit b673a7064c

View File

@@ -12,6 +12,8 @@ on:
jobs:
claude-response:
runs-on: yellow-zeabur-runner
env:
RUNNER_TEMP: /tmp
steps:
- uses: actions/checkout@v4
with:
@@ -24,6 +26,7 @@ jobs:
claude_git_email: claude@anthropic.com
path_to_claude_code_executable: /usr/local/bin/claude
claude_args: |
--model claude-sonnet-5
--append-system-prompt "請一律使用繁體中文回覆,包含 issue/PR 留言、commit message 說明文字、todo list 項目。程式碼註解與變數命名維持英文慣例即可。"
env:
GITEA_SERVER_URL: https://yellow-git.zeabur.app