Commit 3badad6
committed
ci: stop the duplicate GoReleaser run on release
Cutting a release produced a spurious failed workflow run. The Cut
Release job pushes the tag with RELEASE_GITHUB_TOKEN (a PAT), and
PAT-pushed tags DO trigger workflows — contrary to the job's comment
that assumed GITHUB_TOKEN semantics. So the tag push fired the Release
workflow's tag-push GoReleaser, which raced the Cut Release job's own
GoReleaser and failed uploading duplicate release assets (422
already_exists).
Cut Release already owns GoReleaser (binaries + Homebrew cask) and
dispatches the Release workflow for the OIDC npm publish. So make the
Release workflow npm-only and workflow_dispatch-only: drop its tag-push
trigger and its now-redundant GoReleaser job. This removes the racing
run entirely while leaving the proven publish path unchanged.
Also correct the stale comment in cut-release.yml about tag-push
workflow triggering.1 parent c440e59 commit 3badad6
2 files changed
Lines changed: 18 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
10 | | - | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 24 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 25 | | |
56 | 26 | | |
57 | 27 | | |
58 | | - | |
| 28 | + | |
59 | 29 | | |
60 | 30 | | |
61 | 31 | | |
| |||
75 | 45 | | |
76 | 46 | | |
77 | 47 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
85 | 51 | | |
86 | 52 | | |
87 | 53 | | |
| |||
0 commit comments