Release workflow: open the winget update pull request automatically
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- Meio dia
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 7
- Forks
- 1
- Merge médio
- 6h 34min
- PRs com merge (30d)
- 2
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CodingRule/Hidely
-
accessibility help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
CodingRule/Hidely#12 ·
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
CodingRule/Hidely#3 ·
Todas as issues de CodingRule/Hidely
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias
-
autofixer: follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
tursodatabase/turso#12531 ·
Mantenedores costumam responder em até 1 dia
-
bug help wanted ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
userFRM/egui-charts#4292 ·
Mantenedores costumam responder em até 1 dia
-
CHANGELOG.md out of dateAbertaIssue-Bug Need-Review
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
PowerShell/DSC#1832 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia