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

Đang mở Phù hợp với người mới
#490 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, typescript
Lĩnh vực
devops

Hướng nghiên cứu

Đọc cấu hình được đề xuất trong issue, sau đó kiểm tra .github/workflows/ci.yml, .github/workflows/drift-check.yml, scripts/build-mcpb.mjs và package.json để xác nhận những dependency và action nào cần được bao phủ. Thêm .github/dependabot.yml với các bản cập nhật cho github-actions và npm, theo các thiết lập thư mục và nhóm được yêu cầu. Hoàn tất khi cấu hình đã có và npm ci, npm run build cùng npm test chạy thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
1
Fork
4
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TMHSDigital/screencast-mcp

Tất cả issue của TMHSDigital/screencast-mcp

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.