No Dependabot or Renovate config for npm or the SHA-pinned actions

未关闭 适合新手
#490 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, typescript
领域
devops

调研方向

阅读 issue 中建议的配置,然后检查 .github/workflows/ci.yml、.github/workflows/drift-check.yml、scripts/build-mcpb.mjs 和 package.json,确认需要覆盖哪些依赖项和操作。按照要求的目录和分组设置,添加包含 github-actions 和 npm 更新的 .github/dependabot.yml。配置就位且 npm ci、npm run build 和 npm test 均通过后,即告完成。

由索引模型根据 Issue 内容生成。

描述

dependencies effort: small good first issue priority: low

Summary

No Dependabot or Renovate config for npm or the SHA-pinned actions. SHA pins never move on their own, so action security fixes and runtime deprecations arrive only when someone remembers to bump roughly 12 pins across 10 files. The pending cross-spawn upgrade is an example of an in-range fix that nothing proposed.

Where

  • .github/workflows/ci.yml:40
  • .github/workflows/ci.yml:37
  • .github/workflows/drift-check.yml:20
  • scripts/build-mcpb.mjs:21
  • package.json:78

Details

.github/ holds CODEOWNERS, ISSUE_TEMPLATE/, labeler.yml, pull_request_template.md, workflows/ only: no dependabot.yml; no renovate.json, .renovaterc*, or .github/renovate.json either, and no mention of either tool in AGENTS.md, CONTRIBUTING.md, SECURITY.md or the workflows. Every action is pinned to a commit SHA with a version comment (good), for example actions/checkout@3d3c42e5... # v7.0.1 (ci.yml:40), actions/setup-node@949feb24... # v7.1.0, actions/cache # v6.1.0, upload-artifact # v7.0.2, download-artifact # v8.0.2, codeql-action # v4.39.3, labeler # v7.0.0, stale # v11.0.0, configure-pages # v6.0.0, upload-pages-artifact # v5.0.0, deploy-pages # v5.0.1, and the org's own drift-check # v1.20.0. Other hand-pinned versions: the CI FFmpeg builds by SHA-256 (ci.yml:28-38, ci.yml:179), @anthropic-ai/[email protected] (build-mcpb.mjs:21), esbuild 0.28.2 exact (package.json:78).

Impact

SHA pins never move on their own, so action security fixes and runtime deprecations arrive only when someone remembers to bump roughly 12 pins across 10 files. The pending cross-spawn upgrade is an example of an in-range fix that nothing proposed.

Suggested fix

Add .github/dependabot.yml with two ecosystems: github-actions (directories / so action.yml and the workflows are both covered; it keeps the # vX.Y.Z comments in step) and npm (group minor and patch into one weekly PR). Since the project commits to main, the PRs serve as notifications that can be applied by hand.

Acceptance criteria

  • The change is in place
  • npm ci, npm run build and npm test pass

Getting started

  • Relevant files: .github/workflows/ci.yml, .github/workflows/drift-check.yml, scripts/build-mcpb.mjs, package.json
  • How to run tests: npm run build && npm test (also npm run typecheck and npm run lint)
  • Related docs: CONTRIBUTING.md, AGENTS.md

Filed by repo-audit/full-audit at b8156ef. Severity: low. Effort: S. audit-key: dependencies|.github/dependabot.yml|missing-update-automation

主要语言
TypeScript
星标
1
派生
4
平均合并
3 天 4 小时
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TMHSDigital/screencast-mcp 的其他 Issue

查看 TMHSDigital/screencast-mcp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。