Skip to content

chore: CI Check 改用 GitHub 托管 runner - #167

Merged
Paka-418 merged 1 commit into
mainfrom
chore/ci-check-github-hosted
Dec 2, 2026
Merged

Paka-418 merged 1 commit into
mainfrom
chore/ci-check-github-hosted

Conversation

@Paka-418

@Paka-418 Paka-418 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

背景

12-01 傍晚起公司 self-hosted runner 不在线,#166 的 CI Check 两次排队 6 小时以上没有 runner 领取,被自动取消,PR 无法合入。

CI Check 只构建站点、检查断链,不访问 OSS,没必要依赖公司 runner。只有「同步到 OSS」需要公司出口 IP(新 OSS key 只放行公司网络),那一步保持 self-hosted 不变。

改动(仅 ci-check.yml)

  • runs-on: self-hosted → ubuntu-latest
  • 删掉「Probe github.com egress」:它是为 self-hosted 到 github.com 断连准备的,托管机器上不需要
  • 「检测 runner 本地 Node + 兜底安装」改为固定 setup-node Node 24 + npm 缓存,避免托管机器预装的 Node 版本不同导致结果不一致

job 名仍是 build,分支保护的必需检查不受影响。依赖 @d-robotics/docusaurus-plugin-guaji 是公网 tgz,托管机器可下载(已实测 200)。仓库公开,托管 runner 不计费。

验证

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Paka-418
Paka-418 merged commit 92cc757 into main Dec 2, 2026
1 check passed
@Paka-418
Paka-418 deleted the chore/ci-check-github-hosted branch December 2, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant