Separate ordinary PR tests and docs builds from privileged publishing
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading .github/workflows/test_and_docs.yml and .github/workflows/module_tests.yml, then trace their callers, required checks, and release and documentation publishing jobs. Map which jobs receive secrets, write permissions, checkout credentials, and artifacts; define separate trusted publishing paths and preserve the approval protected QNX workflow. Done means all acceptance criteria pass, including fork PR validation, merge queue runs, and release behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Ordinary PR tests and documentation builds should validate proposed code with minimal permissions, while publication uses a separate trust boundary. Review their current use of pull_request_target independently of the Bazel cache migration in #457.
Current setup
test_and_docs.ymlusespull_request_targetexplicitly to provide secrets to fork runs, checks out the PR head, and executes tests, repository scripts, and documentation builds. Its build job hascontents: writeandpull-requests: write; release uploads are conditional, but those token permissions apply to the whole job. Documentation deployment is already a separate job.module_tests.ymlis called by that workflow withsecrets: inherit, checks out the PR head, and executes module tests. It has a read-only token, but receives the optional snapshot-mirror secret through the caller.
For executing proposed code, pull_request_target also means workflow changes in the PR are not exercised by that PR run. GitHub recommends avoiding this event when building or running PR code.
Scope
QNX is excluded from this migration: it requires license material and credentials to build at all, and its secret-bearing runs are protected by an existing approval process. Preserve that approved execution path. This issue does not propose moving QNX to secret-free fork PR builds or replacing its approval mechanism.
Proposed outcome
- Run ordinary PR tests and documentation builds through
pull_requestwith read-only repository permissions and no repository secrets. Determine how to handle the optional snapshot mirror for those builds. - Keep Pages publishing, release uploads, and PR metadata writes in separate trusted jobs or workflows with narrowly scoped permissions. Define how fork PR documentation previews are published without executing PR-provided scripts with publishing credentials.
- Review inherited secrets, persisted checkout credentials, artifact handoff, cache publication, and required-check names within the tests/docs split. Privileged jobs must not execute scripts supplied by an untrusted build artifact.
Acceptance criteria
- Ordinary fork PR tests and docs builds work without write tokens or repository secrets.
- PR changes to those validation workflows are exercised by PR validation.
- Documentation publishing, required checks, merge-queue runs, and release jobs retain their intended behavior.
- The existing approval-protected QNX workflow and its required secrets remain functional and outside this change.
- The cache PR remains limited to caching.
- Ngôn ngữ chính
- Python
- Star
- 6
- Fork
- 46
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 29
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không 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 eclipse-score/reference_integration
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
eclipse-score/reference_integration#460 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
eclipse-score/reference_integration#430 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
os_images as a dev dependencyCó thể đã có người làm @odra đã nhận 16 ngày trước. Đang mở
eclipse-score/reference_integration#409 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
# Raspberry Pi 5 (aarch64) Image — Implementation PlanCó thể đã có người làm @lurtz đã nhận 4 ngày trước. Đang mở
eclipse-score/reference_integration#403 · 2 bình luận · 4 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Coverage calculation for C++ and RustCó thể làm lại được @dcalavrezo-qorix đã nhận 107 ngày trước và không có pull request nào đang mở. Đang mởbug
eclipse-score/reference_integration#259 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eclipse-score/reference_integration
Issue tương tự
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Có thể đã có người làm @geyazheng đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
langchain-ai/langchain-aws#1469 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
EESSI/docs#949 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
b4b usability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(schedule): align list_tasks since cursor filter boundary from strict > to >=Có thể đã có người làm @bfs2021 đã nhận hôm nay. Đang mởagent-ready bug p2 schedule
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
allenporter/supernote#540 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
frazane/scoringrules#164 ·
Maintainer thường phản hồi trong vòng 1 ngày