Release workflow: open the winget update pull request automatically
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 半天
- 新手友好度
- 55/100
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Rust
- 星號
- 7
- 分支
- 1
- 平均合併
- 6 小時 34 分鐘
- 30 天內合併 PR
- 2
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodingRule/Hidely 的其他 Issue
-
accessibility help wanted
難度 2/5 1-3 小時 新手友好度 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
難度 2/5 1-3 小時 新手友好度 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 88/100
CodingRule/Hidely#12 ·
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 84/100
CodingRule/Hidely#3 ·
查看 CodingRule/Hidely 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
-
autofixer: follow-up
難度 2/5 1-3 小時 新手友好度 78/100
tursodatabase/turso#12531 ·
維護者通常 1 天內回覆
-
bug help wanted ui
難度 2/5 1-3 小時 新手友好度 82/100
userFRM/egui-charts#4292 ·
維護者通常 1 天內回覆
-
Issue-Bug Need-Review
難度 1/5 1-3 小時 新手友好度 85/100
PowerShell/DSC#1832 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆