Files
playbook/templates/ci/README.md
T
csh 956da11348 🐛 fix(playbook): publish hidden ci test fixes
Unhide the tracked docs and test updates that were left under assume-unchanged, remove the shipped tsl-guide skill, and align the deploy_root-related test coverage with the current external-clone rules.
2026-04-23 14:02:42 +08:00

38 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CI 模板(templates/ci
本目录提供“目标项目可复制启用”的 CI 模板示例,用于在 CI 中自动化校验部分 Playbook 规范。
当前提供:
- `gitea/`Gitea ActionsGitHub Actions 语法)
说明:`templates/ci/gitea/.gitea/` 结构用于与目标项目根目录的 `.gitea/`
保持一致,便于直接复制到项目根目录。
## 使用(Gitea Actions
前提:目标项目已经把 Playbook 部署到项目内(例如 `docs/standards/playbook/`)。
复制到目标项目根目录:
```sh
cp -R docs/standards/playbook/templates/ci/gitea/.gitea ./
```
提交:
```sh
git add .gitea
git commit -m ":memo: docs(ci): add standards check workflow"
```
## commit message 校验
工作流会运行 `.gitea/ci/commit_message_lint.py`
- 规范来源(自动探测其一):
- `docs/common/commit_message.md`
- `docs/standards/playbook/docs/common/commit_message.md`
- 默认要求 emoji;如需允许无 emoji:在 workflow 中设置
`COMMIT_LINT_REQUIRE_EMOJI=0`