Release workflow: open the winget update pull request automatically
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- Une demi-journée
- Accessibilité débutants
- 55/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 7
- Forks
- 1
- Merge moyen
- 6 h 34 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CodingRule/Hidely
-
accessibility help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
CodingRule/Hidely#12 ·
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
CodingRule/Hidely#3 ·
Toutes les issues de CodingRule/Hidely
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 2 jours
-
autofixer: follow-up
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
tursodatabase/turso#12531 ·
Les mainteneurs répondent en général sous 1 jour
-
bug help wanted ui
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
userFRM/egui-charts#4292 ·
Les mainteneurs répondent en général sous 1 jour
-
CHANGELOG.md out of dateOuverteIssue-Bug Need-Review
Difficulté 1/5 1-3 heures Accessibilité débutants 85/100
PowerShell/DSC#1832 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour