Commit 318f1ba
Remove create-event trigger guard; tag push is sole release trigger (#297)
* fix(release): trigger only on v* tag push; drop unworkable UI-draft path
A draft release never creates a git tag, so no push/create event
fires and GitHub fires no release event for draft creation — the
`create`-triggered "UI draft" path could never run. Make `v*` tag
push the sole trigger, remove the trigger-guard job and the
check-release-trigger command it invoked, simplify the env/
concurrency/job conditionals, and always publish the draft as the
final atomic step. Relocate the shared releaseLookupError into
publishrelease.go. Update release.md and release-tooling.md.
https://claude.ai/code/session_014crGVw5Bwiv3nv4EoBimbz
* test(release): cover relocated releaseLookupError; drop dead Op default
Deleting triggerguard_test.go removed the only coverage of the
relocated releaseLookupError. Every caller now passes a non-empty
Op ("lookup"/"publish"), so drop the dead op=="" defaulting and add
a direct Error() test for the empty- and non-empty-body branches.
Also keep the publish-release command code span on one line in
release.md (Copilot review).
https://claude.ai/code/session_014crGVw5Bwiv3nv4EoBimbz
* ci(codecov): allow 0.2% project threshold for benign deletions
Deleting a well-covered file pulls the project-wide average
slightly toward the mean, failing the 0%-threshold project gate
even when no new code is undertested. patch keeps threshold 0%,
so genuinely undertested changed lines still fail.
https://claude.ai/code/session_014crGVw5Bwiv3nv4EoBimbz
* ci(codecov): fix invalid changes-status schema so config applies
The changes status block carried target/threshold, which Codecov's
schema rejects, so the entire codecov.yml was invalid and Codecov
silently fell back to its defaults — the project/patch thresholds
(and the new 0.2% project tolerance) never took effect. Reduce the
changes gate to the supported `enabled: true`; validated against
codecov.io/validate.
https://claude.ai/code/session_014crGVw5Bwiv3nv4EoBimbz
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent d5d4174 commit 318f1ba
12 files changed
Lines changed: 92 additions & 792 deletions
File tree
- .github/workflows
- cmd/mdsmith-release
- docs/development
- internal/release
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
21 | 19 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 20 | + | |
29 | 21 | | |
30 | 22 | | |
31 | 23 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 24 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 25 | | |
69 | 26 | | |
70 | 27 | | |
| |||
115 | 72 | | |
116 | 73 | | |
117 | 74 | | |
118 | | - | |
119 | 75 | | |
120 | 76 | | |
121 | 77 | | |
122 | 78 | | |
123 | 79 | | |
124 | 80 | | |
125 | | - | |
126 | | - | |
| 81 | + | |
127 | 82 | | |
128 | 83 | | |
129 | 84 | | |
| |||
231 | 186 | | |
232 | 187 | | |
233 | 188 | | |
234 | | - | |
| 189 | + | |
235 | 190 | | |
236 | 191 | | |
237 | 192 | | |
| |||
309 | 264 | | |
310 | 265 | | |
311 | 266 | | |
312 | | - | |
| 267 | + | |
313 | 268 | | |
314 | 269 | | |
315 | 270 | | |
| |||
352 | 307 | | |
353 | 308 | | |
354 | 309 | | |
355 | | - | |
| 310 | + | |
356 | 311 | | |
357 | 312 | | |
358 | 313 | | |
| |||
420 | 375 | | |
421 | 376 | | |
422 | 377 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
427 | 382 | | |
428 | 383 | | |
429 | 384 | | |
| |||
435 | 390 | | |
436 | 391 | | |
437 | 392 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
446 | 397 | | |
447 | 398 | | |
448 | 399 | | |
| |||
453 | 404 | | |
454 | 405 | | |
455 | 406 | | |
456 | | - | |
457 | | - | |
| 407 | + | |
458 | 408 | | |
459 | 409 | | |
460 | 410 | | |
| |||
525 | 475 | | |
526 | 476 | | |
527 | 477 | | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | 478 | | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | 479 | | |
538 | 480 | | |
539 | | - | |
540 | 481 | | |
541 | 482 | | |
542 | 483 | | |
| |||
557 | 498 | | |
558 | 499 | | |
559 | 500 | | |
560 | | - | |
| 501 | + | |
561 | 502 | | |
562 | 503 | | |
563 | 504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | | - | |
85 | | - | |
86 | 82 | | |
87 | 83 | | |
88 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | | - | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments