Commit fc81e78
fix(ci): inline pypi publish jobs to satisfy trusted publishing
PyPI Trusted Publishing does not support reusable workflows — the
publish step must run directly in the calling workflow so the OIDC
token's job_workflow_ref matches the trusted publisher config.
Removed the reusable pypi-publish.yml and inlined its two jobs
(publish-test, publish-pypi) directly into publish.yml. Updated
notify-discord to depend on publish-pypi instead of the former
reusable publish job.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f7221c3 commit fc81e78
2 files changed
Lines changed: 71 additions & 100 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
107 | 169 | | |
108 | 170 | | |
109 | 171 | | |
110 | 172 | | |
111 | 173 | | |
112 | | - | |
113 | | - | |
| 174 | + | |
| 175 | + | |
114 | 176 | | |
115 | 177 | | |
116 | 178 | | |
| |||
119 | 181 | | |
120 | 182 | | |
121 | 183 | | |
122 | | - | |
| 184 | + | |
123 | 185 | | |
124 | 186 | | |
125 | 187 | | |
| |||
This file was deleted.
0 commit comments