Separate ordinary PR tests and docs builds from privileged publishing
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 6
- Forks
- 46
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 29
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus eclipse-score/reference_integration
-
documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
eclipse-score/reference_integration#460 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
eclipse-score/reference_integration#430 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
os_images as a dev dependencyEvtl. vergeben @odra hat das vor 16 Tagen übernommen. Offen
eclipse-score/reference_integration#409 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
# Raspberry Pi 5 (aarch64) Image — Implementation PlanEvtl. vergeben @lurtz hat das vor 4 Tagen übernommen. Offen
eclipse-score/reference_integration#403 · 2 Kommentare · 4 zugewiesene Personen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Coverage calculation for C++ and RustEvtl. wieder frei @dcalavrezo-qorix hat das vor 107 Tagen übernommen, und es ist kein Pull Request offen. Offenbug
eclipse-score/reference_integration#259 · 6 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in eclipse-score/reference_integration
Ähnliche Issues
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Evtl. vergeben @geyazheng hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
langchain-ai/langchain-aws#1469 ·
Maintainer antworten meist innerhalb von 1 Tag
-
GCToggler leaves collection enabled if the body re-enables itEvtl. vergeben @Gambit-Checkmate hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 7 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
EESSI/docs#949 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
doronz88/pymobiledevice3#2176 ·
Maintainer antworten meist innerhalb von 1 Tag
-
b4b usability
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag