Release workflow: open the winget update pull request automatically

Aberta
#16 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, rust, tauri, yaml
Domínio
devops, release

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

enhancement help wanted

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 the vedantmgoyal9/winget-releaser action) for CodingRule.Hidely, with the new version and the Hidely_<version>_x64-setup.exe download URL;
  • submits the pull request to microsoft/winget-pkgs using a token stored as a repository secret (for example WINGET_TOKEN, a classic token with public_repo only). 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 update without --submit) produces a manifest that winget validate accepts.
Linguagem predominante
Rust
Estrelas
7
Forks
1
Merge médio
6h 34min
PRs com merge (30d)
2

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CodingRule/Hidely

Todas as issues de CodingRule/Hidely

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.