Commit f48d798
chore(ci): rename release.yml → publish.yml to match PyPI Trusted Publisher (#638)
PyPI's Trusted Publisher config keys trust on the workflow filename.
The repo had the workflow as `release.yml`, but the owner just
configured the PyPI trusted publisher with the canonical
`publish.yml` name (clearer — the workflow IS about publishing to
PyPI, not about "the release"). Aligning the file with PyPI's config
so OIDC uploads succeed; otherwise PyPI rejects the OIDC token from a
workflow whose filename doesn't match the trust.
Refresh:
- `name:` field `release` → `publish` so the GitHub Actions UI label
matches the file.
- In-file one-time-setup comment now says `Workflow: publish.yml`.
- `.github/workflows/README.md` and `SECURITY.md` references updated.
- `ci.yml`'s pin-rationale comment now lists `publish.yml` instead of
`release.yml`.
No behaviour change beyond the trust-name alignment; the workflow's
SHA-pinned actions, idempotency guard, OIDC permissions and
testpypi/pypi dispatch options are unchanged.
Co-authored-by: Martin Castro Laminrs <mcastro@laminr.ai>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4392835 commit f48d798
4 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments