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 摘要。