Support Zizmor SARIF uploads from private repositories

Đang mở
#390 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

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

@trask đang làm issue này rồi.

Từ ngày 17/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

The reusable Zizmor workflow cannot upload SARIF results from private repositories. github/codeql-action/upload-sarif reads workflow-run metadata during processing, which requires actions: read in both the caller and reusable workflow.

Adding actions: read to the existing reusable job changes its permission contract. Callers that upgrade without granting the new permission can be rejected before the job runs, even though public repositories do not need it.

Add a backward-compatible private-repository path, such as a separate reusable workflow or an explicit opt-in that leaves existing public callers unchanged.

Acceptance criteria:

  • A private repository caller can complete the Zizmor audit and SARIF upload.
  • Existing public caller configuration continues to work unchanged.
  • Consumer documentation shows the private-repository configuration.
  • The behavior is verified from a private repository.
Ngôn ngữ chính
JavaScript
Star
7
Fork
23
Merge trung bình
15 giờ 46 phút
Pull request đã merge (30 ngày)
41

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 open-telemetry/shared-workflows

Tất cả issue của open-telemetry/shared-workflows

Issue tương tự

Thêm issue về JavaScript

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.