Release workflow: open the winget update pull request automatically
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start with .github/workflows/release.yml to see how the release is published, then look at packaging/winget/ for the current manifest layout. Add a job that runs after publishing and skips when the WINGET_TOKEN secret is missing. Done when a dry run of wingetcreate update without --submit produces a manifest that winget validate accepts, and the PR notes which secret to add.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hidely has been submitted to the winget repository as CodingRule.Hidely, but every new release would need its manifest updated by hand. The release workflow could open that pull request itself.
What to do
Add a job to .github/workflows/release.yml that runs after the release is published and:
- uses
wingetcreate update(or thevedantmgoyal9/winget-releaseraction) forCodingRule.Hidely, with the new version and theHidely_<version>_x64-setup.exedownload URL; - submits the pull request to
microsoft/winget-pkgsusing a token stored as a repository secret (for exampleWINGET_TOKEN, a classic token withpublic_repoonly). Never put a token in the workflow file. - is skipped, not failed, when the secret isn't set, so forks still build.
The current manifests are in packaging/winget/ for reference.
Done when
- The job is in the workflow, and the pull request says which secret a maintainer needs to add.
- A dry run (
wingetcreate updatewithout--submit) produces a manifest thatwinget validateaccepts.
- Lingua principale
- Rust
- Stelle
- 7
- Fork
- 1
- Merge medio
- 6h 34m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 CodingRule/Hidely
-
accessibility help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CodingRule/Hidely#12 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
CodingRule/Hidely#3 ·
Tutte le issue di CodingRule/Hidely
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
autofixer: follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tursodatabase/turso#12531 ·
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
userFRM/egui-charts#4292 ·
I maintainer di solito rispondono entro 1 giorno
-
CHANGELOG.md out of dateApertaIssue-Bug Need-Review
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
PowerShell/DSC#1832 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno