Commit b9bf37f
[ci] publish.yml — switch from OIDC trusted publishing to API token
Why: Run #26500551525 reached the publish step (tests now pass after
test_serve.py quarantine in iter f89ecec) but failed with
'invalid-publisher: valid token, but no corresponding publisher'. PyPI
trusted publishing requires a trusted-publisher rule on the PyPI
project side matching the workflow's OIDC claims (repository,
workflow_ref, environment) — that rule hasn't been configured.
Switching to API token auth (PYPI_API_TOKEN secret set on the repo
2026-05-27 from deploy/.credentials/pypi_credentials.sh). Trusted
publishing remains the preferred long-term path; comment in workflow
documents the migration trigger.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent f89ecec commit b9bf37f
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments