mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-07-28 03:07:56 +00:00
chore: governance - tighten repo hygiene
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# .github/workflows/ Agent 指南
|
||||
|
||||
本目录只放 GitHub Actions 工作流。
|
||||
|
||||
## 约束
|
||||
|
||||
- 不新增无法在本地解释的黑盒步骤。
|
||||
- 不在 workflow 中写入密钥明文。
|
||||
- 修改 CI 后必须运行 `make test`,并在推送后查看 GitHub Actions 结果。
|
||||
- 外链检查配置优先修改仓库根目录 `.lychee.toml`,不要在 workflow 里堆长排除列表。
|
||||
@@ -0,0 +1,13 @@
|
||||
# .github/workflows
|
||||
|
||||
GitHub Actions 工作流目录。
|
||||
|
||||
## 当前工作流
|
||||
|
||||
- `ci.yml` - Markdown lint、本地链接、docs 结构、目录治理、metadata、AI citation 和外链检查。
|
||||
|
||||
## 维护规则
|
||||
|
||||
- 优先复用 `Makefile` 和 `scripts/` 中已有门禁。
|
||||
- 外链检查排除规则放在 `.lychee.toml`。
|
||||
- action 版本升级后必须观察远端 CI 结果。
|
||||
@@ -46,22 +46,4 @@ jobs:
|
||||
- name: Link Checker
|
||||
uses: lycheeverse/lychee-action@v2.8.0
|
||||
with:
|
||||
args: >-
|
||||
--verbose
|
||||
--no-progress
|
||||
--exclude-path .history
|
||||
--exclude-path .github/wiki
|
||||
--exclude-path node_modules
|
||||
--exclude-path tools/external
|
||||
--exclude-path tools/chat-vault
|
||||
--exclude-path tools/prompts-library
|
||||
--exclude-path skills/claude-official-skills
|
||||
--exclude-path skills/auto-skill/scripts/Skill_Seekers-development
|
||||
--exclude-path skills/auto-skill/scripts/skill-seekers-src
|
||||
--exclude-path skills/auto-skill/scripts/skill-seekers-configs
|
||||
--exclude 'https://chatgpt.com.*'
|
||||
--exclude 'https://claude.ai.*'
|
||||
--exclude 'https://app.augmentcode.com.*'
|
||||
--exclude 'https://platform.openai.com.*'
|
||||
--exclude 'https://user-images.githubusercontent.com.*'
|
||||
'./**/*.md'
|
||||
args: --verbose --no-progress --config .lychee.toml './**/*.md'
|
||||
|
||||
Reference in New Issue
Block a user