Repository navigation
Commit a6e6b36
committed
ci: grant id-token permission for PyPI trusted publishing
The publish job inherited the workflow-level `permissions: contents:
read`, which drops the default OIDC grant — GitHub then never exposes
ACTIONS_ID_TOKEN_REQUEST_URL to the job, so `uv publish` cannot mint a
trusted-publishing token and fails with "Trusted publishing failed ...
Missing credentials". Add job-level `id-token: write`.
Also add zeeker-common to the workflow_dispatch package choice and honor
the input in the build step (release events still default to zeeker), so
zeeker-common 0.2.0 can be published from the same workflow.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cuh5eJDfVowgpp22s7siE11 parent b6cf081 commit a6e6b36
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
35 | | - | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
0 commit comments