Docs: refresh GitHub Actions examples to the current image-tag pin and document summary outputs
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
- 74/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions
- Lĩnh vực
- ci-cd, documentation
Hướng nghiên cứu
Bắt đầu với giá trị mặc định của image-tag và các định nghĩa output trong action.yml, sau đó so sánh chúng với các giá trị được ghim trong examples/github-actions/README.md và bất kỳ mẫu workflow liên quan nào. Cập nhật các pin theo lịch để khớp, mô tả drift-score, risk-level, score-delta và summary-file (rỗng khi image quá cũ), và thêm một đoạn mã đọc chúng trong bước if: always(). Hoàn thành khi không còn pin cũ nào và đoạn mã không cần secret hay truy cập mạng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
action.yml pins the default scanner image-tag to 2026.1007.1 and exposes CI-friendly outputs from vg scan --summary-out: drift-score, risk-level, score-delta, and summary-file. Older images skip --summary-out with a notice and leave those outputs empty.
examples/github-actions/README.md still documents the pin as 2026.1005.1 in several places (install step, pins table, composite Action example). Newcomers copying that file gate on a stale scanner and never learn how to read the summary outputs in a later job step.
What to do
- Update every calendar pin in
examples/github-actions/(and any sibling workflow comments that hard-code the old default) so they match the currentimage-tagdefault inaction.yml. Prefer one shared wording such as "theimage-tagdefault inaction.yml" plus the current value. - Document the Action outputs: what each field means, that an unmeasured score is empty/
null(never0), and that an olderimage-tagleaves them empty with a notice. - Add a short workflow snippet that writes the summary (default
vibgrate-summary.jsonor thesummary:input) and printsdrift-score/risk-level/score-deltain a follow-up step withif: always(). - Keep examples local-first: no DSN required, no secrets in the sample.
Acceptance
-
examples/github-actions/README.md(and checked-in workflow samples that hard-code a calendar pin) match the currentaction.ymlimage-tagdefault - Outputs
drift-score,risk-level,score-delta, andsummary-fileare described, including the older-image empty case - A copy-paste snippet shows reading those outputs after the scan step
- No network calls, tokens, or private docs referenced
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 3
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 76
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của vibgrate/cli
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
documentation Entwickler
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:frontend bug ci-test level:low priority:high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
skytuhua-org/Gen-V1#2974 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area: cli area: core priority: P3 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
appandflow/stim#6736 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
naomiaro/waveform-playlist#973 ·
Maintainer thường phản hồi trong vòng 1 ngày