Skip to content

Feat/docs cicd bmad standardization#319

Open
zhaojing1987 wants to merge 5 commits intodevfrom
feat/docs-cicd-bmad-standardization
Open

Feat/docs cicd bmad standardization#319
zhaojing1987 wants to merge 5 commits intodevfrom
feat/docs-cicd-bmad-standardization

Conversation

@zhaojing1987
Copy link
Contributor

chore: add BMAD toolchain to version control

包含 BMAD 方法论工具链的所有文件:

  • .github/agents/ — BMAD Agent 定义文件(13个)
  • .github/prompts/ — BMAD Prompt 文件(60+个)
  • .github/copilot-instructions.md — Copilot 配置
  • _bmad/ — BMAD 核心引擎、工作流、模块(bmm/bmb/core)
  • _bmad-output/ — BMAD 输出产物(tech-spec 等)" && git push origin feat/docs-cicd-bmad-standardization

[H1] check.yml: fail:false → fail:true,确保 broken links 真正阻断 PR
[H2] DEVELOPMENT.md: 修正 create_app.py 调用语法(需 --appname/--trademark/--i18n 参数)
[M1] CHANGELOG.md: 删除无意义的 HEAD...HEAD 链接,改为注释占位
[M2] build_doc.yml: PR trigger paths 补充 .github/workflows/**,与 push trigger 保持一致
包含 BMAD 方法论工具链的所有文件:
- .github/agents/ — BMAD Agent 定义文件(13个)
- .github/prompts/ — BMAD Prompt 文件(60+个)
- .github/copilot-instructions.md — Copilot 配置
- _bmad/ — BMAD 核心引擎、工作流、模块(bmm/bmb/core)
- _bmad-output/ — BMAD 输出产物(tech-spec 等)
- ci.yml (原 build_doc.yml):合并 lychee check job(check→build 串行)、
  改用 setup-node 内置 yarn cache、workflow 命名改为 CI
- 删除 check.yml(已并入 ci.yml)
- 删除 update.yml,新增 dependabot.yml(npm + github-actions 每周自动 PR)
- sync-contentful.yml (原 app_from_contentful.yml):git-auto-commit@v5、
  job id build→generate、workflow 命名规范化
- sync-catalog.yml (原 json2md.yml):git-auto-commit@v5、job id build→generate、
  6 个分散 step 合并为 1 个 Generate all Markdown files step
- builds/sync_contentful.py (原 gen_md_from_contenful.py):修正拼写错误 contenful→contentful
- builds/gen_app_index.py (原 json2md.py):语义化重命名
- builds/gen_allapps.py:修复 import sys 缺失(避免 NameError)
- DEVELOPMENT.md:同步更新 CI 工作流说明表格
- H-1: revert yarn cache strategy to actions/cache@v4 + hashFiles
  package.json since yarn.lock is gitignored; cache: yarn requires
  yarn.lock to generate a stable cache key
- H-2: add fetch-depth: 0 to sync-catalog.yml checkout step to ensure
  git-auto-commit-action@v5 works correctly on workflow_dispatch
- M-1: fix DEVELOPMENT.md cache description to match actual ci.yml impl
- M-2: change lychee upload-artifact if: always() to if: failure() to
  avoid spurious warnings when no broken links are found
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