From b673a7064c19e9ab16195ea47b7bc96afb61f65f Mon Sep 17 00:00:00 2001 From: LittleYellow Date: Sun, 26 Jul 2026 09:36:20 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=8C=87=E5=AE=9A=20model=20=E7=82=BA=20?= =?UTF-8?q?claude-sonnet-5=EF=BC=8C=E4=B8=A6=E8=A8=AD=20RUNNER=5FTEMP=3D/t?= =?UTF-8?q?mp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit job 層設 RUNNER_TEMP 避免 runner 預設暫存路徑不存在/不可寫。 Co-Authored-By: Claude Opus 5 --- .gitea/workflows/claude.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/claude.yml b/.gitea/workflows/claude.yml index 7f0bdd5..80a5b99 100644 --- a/.gitea/workflows/claude.yml +++ b/.gitea/workflows/claude.yml @@ -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 \ No newline at end of file