Commit a6255b0
committed
ci(winget): name the two gates that each cost a release to discover
Both are documented upstream and neither is guessable from the workflow.
A fine-grained PAT does not work — winget-releaser#172. The token has to be a
classic one with `public_repo`. Someone reading "a PAT with public_repo scope"
in 2027 will mint the kind GitHub now offers by default, and lose a release
finding out.
And the action refuses to run at all until one version of the package already
exists in winget-pkgs: it writes the next manifest by copying the previous one,
so it cannot author the first. Its own pre-flight says so ("Please add atleast
one version of the package before using this action"), which is loud but arrives
only after the token exists and the release has been cut. The first submission is
manual, `wingetcreate new`, and the automation takes over from the second.
Also names the fork requirement, since `fork-user` defaults to the repository
owner and therefore expects getopenscreen/winget-pkgs to exist.1 parent 6cc8a13 commit a6255b0
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | | - | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
0 commit comments