Dependabot only scans the root manifest — add workspace packages/* directories, cooldown, and grouped updates
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github, github-actions, yaml
- 领域
- devops
调研方向
从 .github/dependabot.yml 开始,然后将其中的 npm 条目与工作区清单 packages/dks-core/package.json、packages/dks-cli/package.json 和 packages/dks-mcp/package.json 进行比较。添加缺失的目录条目以及所要求的冷却或分组选项,然后运行 scripts/check-dependency-downgrades.sh,以确认配置仍然有效。
由索引模型根据 Issue 内容生成。
描述
Summary
.github/dependabot.yml declares a single npm ecosystem entry with directory: "/". In a pnpm workspace, that does not cover packages/dks-core, packages/dks-cli, and packages/dks-mcp, each of which has its own package.json with dependencies. Their dependency updates currently never generate PRs.
Evidence
.github/dependabot.yml:5and:18— both entries usedirectory: "/"only.- Workspace manifests exist:
packages/dks-core/package.json,packages/dks-cli/package.json,packages/dks-mcp/package.json. - No
cooldown:block is configured.
Impact
- Security drift: shared-core, CLI, and MCP dependencies (including transitive security fixes) age silently — inconsistent with the repo's "Codacy zero tolerance" and dependabot-alert-check posture.
- Supply-chain cooldown: several 2026 npm campaigns shipped malicious versions that were pulled within days. A 7-day Dependabot cooldown filters freshly-published releases without blocking security updates (cooldown does not apply to security PRs).
Proposed approach
- Add
directory: "/packages/dks-core",/packages/dks-cli,/packages/dks-mcpnpm entries (pnpm workspaces require per-directory entries). - Add
cooldown: default-days: 7to each entry. - Consider
groups:for patch/minor devDependency bumps to reduce PR noise, matching the existing weekly cadence. - Confirm
scripts/check-dependency-downgrades.shstill passes with the new entries.
References
- Dependabot options reference (directory, cooldown, groups): https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
- 2026 Actions/npm supply-chain incidents that motivated cooldowns: https://www.stingrai.io/blog/github-actions-security-checklist
- 主要语言
- TypeScript
- 星标
- 3
- 派生
- 2
- 平均合并
- 11 小时 49 分钟
- 30 天内合并 PR
- 102
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
d-oit/do-knowledge-studio 的其他 Issue
-
Migrate do-harness.toml to the current [[sensors]] schema (do-harness CLI 0.6.0 cannot parse it)未关闭chore config priority: low
难度 2/5 1-3 小时 新手友好度 90/100
d-oit/do-knowledge-studio#1219 ·
维护者通常 1 天内回复
-
documentation priority: low
难度 3/5 1-2 天 新手友好度 68/100
d-oit/do-knowledge-studio#1218 ·
维护者通常 1 天内回复
-
chore priority: low skills
难度 3/5 1-2 天 新手友好度 72/100
d-oit/do-knowledge-studio#1217 ·
维护者通常 1 天内回复
-
discussion enhancement performance priority: low search
难度 4/5 3-5 天 新手友好度 52/100
d-oit/do-knowledge-studio#1216 ·
维护者通常 1 天内回复
-
ai-agent enhancement feature priority: low
难度 4/5 3-5 天 新手友好度 68/100
d-oit/do-knowledge-studio#1215 ·
维护者通常 1 天内回复
查看 d-oit/do-knowledge-studio 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
danielmiessler/LifeOS#3028 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
Koenkk/zigbee2mqtt#33855 ·
维护者通常 1 天内回复