Skip to content

Commit 573666d

Browse files
BinHPdevclaude
andcommitted
Fix Claude CLI auth in weekly-update workflow
Set HOME=/Users/bin so the runner can access the local Claude login session, matching how ClaudeNotice reuses the self-hosted runner. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 259d489 commit 573666d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/weekly-update.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
3232
- name: 运行 Claude Code 搜索更新
3333
timeout-minutes: 20
34+
env:
35+
# 恢复原始 HOME,让 Claude CLI 复用本机登录态(同 ClaudeNotice runner)
36+
HOME: /Users/bin
3437
run: |
3538
# 防止 Mac 休眠
3639
caffeinate -s -w $$ &

0 commit comments

Comments
 (0)