ci: require approval from another maintainer before running release workflows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reading the .github/workflows/release.yml, .github/workflows/publish-cli.yml and .github/workflows/publish-webui.yml workflows, then check the repository’s release process documentation and current publishing secrets. The issue is done when publishing waits for approval from a different maintainer, self-review is blocked, and publishing credentials are scoped to the protected environment.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The release workflows run automatically as soon as a v* tag is pushed:
release.ymlbuilds and pushes the server and web UI images toghcr.ioand creates the GitHub release.publish-cli.ymlandpublish-webui.ymlpublish theovsxCLI and the web UI library to the package registry.
None of the jobs use a GitHub environment, so nothing requires a second pair of eyes before artifacts are published. Anyone who can push a tag can trigger a release, and a compromised maintainer account or token would be enough to publish artifacts that downstream operators pull.
Proposal
Gate the publishing jobs behind a protected GitHub environment (for example release) that requires approval from a maintainer other than the one who triggered the run.
- Create a
releaseenvironment with required reviewers (the maintainers team) and "Prevent self-review" enabled. - Add
environment: releaseto the jobs that publish or push artifacts inrelease.yml,publish-cli.ymlandpublish-webui.yml. Build and prepare jobs can stay ungated. - Move any publishing credentials (registry tokens and similar) into environment secrets so they are only exposed after approval.
- Optionally restrict who can create
v*tags with a tag protection ruleset. - Document the approval step in the release process.
Acceptance criteria
- A pushed
v*tag does not publish anything until another maintainer approves the run. - The person who pushed the tag cannot approve their own release.
- Publishing secrets are scoped to the environment.
- Lingua principale
- Java
- Stelle
- 2.1k
- Fork
- 362
- Merge medio
- 1g 3h
- PR unite (30g)
- 44
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-openvsx/openvsx
-
`ovsx verify` fails for a version older than the 100 newest of an extensionForse già presa @trivikr l’ha presa oggi. Apertacli
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
eclipse-openvsx/openvsx#2482 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
eclipse-openvsx/openvsx#2469 ·
I maintainer di solito rispondono entro 1 giorno
-
cli
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
eclipse-openvsx/openvsx#2423 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
eclipse-openvsx/openvsx#2476 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
eclipse-openvsx/openvsx#2439 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eclipse-openvsx/openvsx
Issue simili
-
[DEFECT] AsciiDoc builders write a stray ## before every schema member when the namespace prefixes file binds the schema's own namespaceForse già presa @Beehtrix l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
cimug-org/CIMTool#427 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Range type (eg Condition.onsetRange) fails IPS $summary + Observation.valueQuantity only render value in narrativeForse già presa @xmhorsehead l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hapifhir/hapi-fhir#8952 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Skip installing contributed bundle when existing same-version bundle cannot be uninstalledForse già presa @wenytang-ms l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
eclipse-jdtls/eclipse.jdt.ls#4004 ·
I maintainer di solito rispondono entro 1 giorno
-
[🐞]: Moonlight 3.9.0 dedicated server crash - CreateWorldScreenMixin targets missing client classAperta1.21 bug FABRIC server
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MehVahdJukaar/Moonlight#506 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
godotengine/godot#126005 ·
I maintainer di solito rispondono entro 1 giorno