# Fix CI

> 修复 GitHub Actions/CI 工作流失败；限制修改到明确允许的 CI 文件。

- Skill: `openclaw-cn-dev/fix-ci` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx get-skill add openclaw-cn-dev/fix-ci`
- Raw SKILL.md: https://api.skillmd.com/api/skills/openclaw-cn-dev/fix-ci/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: openclaw-cn-dev (https://skillmd.com/u/openclaw-cn-dev)
- Updated: 2026-11-14
- Page: https://skillmd.com/skills/openclaw-cn-dev/fix-ci

---


# fix-ci

当用户提到 CI 挂了、GitHub Actions 失败、工作流报错时触发。

目标：
- 读取 `.github/workflows/ci.yml`
- 修复过时的 action 版本
- 确保先安装 pnpm，再跑 registry 测试
- 确保 Rust 测试在稳定 toolchain 下执行

执行边界：
- 只修改 `.github/workflows/ci.yml`
- 若目标文件不存在，先返回观察结果
- 不新增提权脚本，不放宽白名单

