fix: ci - exclude unstable opencost link

This commit is contained in:
tradecatlabs
2026-06-02 04:45:26 +08:00
parent 569f7ae3be
commit fcf991086d
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -26,4 +26,7 @@ exclude = [
'^https://user-images\.githubusercontent\.com.*',
'^https://notebooklm\.google\.com.*',
'^https://www\.contributor-covenant\.org.*',
# Verified public documentation URL. GitHub-hosted lychee runners can fail this
# Netlify-backed site with TLS or connection errors while local curl returns 200.
'^https://opencost\.io/docs/?$',
]
+1 -1
View File
@@ -269,7 +269,7 @@ git push origin develop
| prompts-library 报错 | 缺少 Python 依赖 | `pip install -r tools/prompts-library/requirements.txt` |
| prompts-library 辅助脚本报 Google API 依赖错误 | 未安装脚本专用依赖 | `pip install -r tools/prompts-library/scripts/requirements.txt` |
| CI markdown-lint 失败 | Markdown 规则违规或本地未按 `.github/lint_config.json` 校验 | 运行 `make lint`,按输出修复对应 Markdown |
| CI link-checker 失败 | 文档中存在失效链接 | 检查并修复 Markdown 中的链接 |
| CI link-checker 失败 | 文档中存在失效链接,或少数官方外链在 GitHub runner 上网络/TLS 不稳定 | 先本地验证链接;真实失效则修复 Markdown,已验证但 runner 不稳定的外链用 `.lychee.toml` 精确排除 |
---
+1 -1
View File
@@ -272,7 +272,7 @@ pip install -r tools/prompts-library/scripts/requirements.txt
- Markdown lint 配置:`.github/lint_config.json`
- Markdown lint 版本:`Makefile` 中固定为 `markdownlint-cli@0.48.0`
- 外部链接检查配置:`.lychee.toml`,排除生成物、外部仓库指向 `tools/external/` 的软链接资产
- 外部链接检查配置:`.lychee.toml`,排除生成物、外部仓库指向 `tools/external/` 的软链接资产,以及已验证但 GitHub runner 网络不稳定的官方外链
- CI 配置:`.github/workflows/ci.yml`,在 `develop` / `master` 分支的 push / pull_request 上运行 markdown-lint、本地链接检查、docs 结构检查与 link-checker
- Codex 配置基线:`tools/config/.codex/README.md`,支持一键安装、自动备份和恢复。
- Submodule 来源:`.gitmodules`