Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add CodeQL static analysis workflow

Đang mở
#298 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, typescript
Lĩnh vực
ci-cd, security

Hướng nghiên cứu

Bắt đầu bằng cách xem xét .github/dependabot.yml và các tệp hiện có trong .github/workflows để hiểu các quy ước GitHub Actions của repository. Thêm một workflow CodeQL cho javascript-typescript trên các push và pull request nhắm đến main, cùng với lịch chạy hằng tuần. Xác nhận workflow chạy thành công trên main và các cảnh báo xuất hiện trong Security → Code scanning; chỉ cập nhật TRIAGE.md nếu cần.

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

Mô tả

stale

Summary

Gap: CodeQL is still not configured; tracked as a follow-up so static analysis covers more than dependency alerts.

Context

We now have Dependabot active for npm + GitHub Actions, and npm audit on main is down to 0 after recent remediation work. Dependency scanning alone is not enough — CodeQL would add SAST coverage for the website (JS/TS) and workflow/config surfaces.

Related recent work:

Proposal

  1. Add a GitHub Actions CodeQL workflow under .github/workflows/ (e.g. codeql.yml).
  2. Enable analysis for javascript-typescript (primary stack for website/).
  3. Run on:
    • push to main
    • pull_request targeting main
    • weekly schedule (recommended default)
  4. Confirm results appear under the repo Security → Code scanning tab.
  5. Optionally tune query suite (security-extended / default) once baseline noise is understood.

Acceptance criteria

  • CodeQL workflow merged and running green on main
  • Code scanning alerts visible in GitHub Security
  • Docs/notes updated if triage process should mention CodeQL alongside Dependabot (TRIAGE.md if appropriate)

Priority

Medium — closes a known maintainer security gap after dependency remediation.

Ngôn ngữ chính
TypeScript
Star
13
Fork
22
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
11

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 IntersectMBO/developer-experience

Tất cả issue của IntersectMBO/developer-experience

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.