Commit 73bb811
fix(ci): publish to PyPI before tag/release + drop redundant dispatch guards
Address greptile P1 + P2:
- P1: uv publish now runs before commit/tag/release. PyPI is the only
irreversible step, so if a later git/release call fails the artifact
is the source of truth and the metadata can be retried.
- P2: workflow only triggers on workflow_dispatch (see top-level `on:`),
so the per-step `if: github.event_name == 'workflow_dispatch'` guards
were redundant and inconsistent (only on bookends, not lint/test/build).
Removed them — any future trigger addition should be a deliberate
per-step decision.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0539a0f commit 73bb811
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
118 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | | - | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments