Support Zizmor SARIF uploads from private repositories

Aperta
#390 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@trask ci sta già lavorando.

Dal 17/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
JavaScript
Stelle
7
Fork
23
Merge medio
15h 46m
PR unite (30g)
41

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di open-telemetry/shared-workflows

Tutte le issue di open-telemetry/shared-workflows

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.