Commit add1c6b
authored
ci: use OIDC trusted publishing via wevm/changelogs (#138)
wevm/changelogs now natively supports PyPI Trusted Publishing (OIDC)
as of tempoxyz/changelogs#116. When pypi-token is empty and the
workflow has id-token: write, it mints a short-lived PyPI API token
by exchanging the GitHub OIDC ID token at PyPI's _/oidc/mint-token
endpoint, removing the need for a long-lived static API token.
Pin to the merge commit (de02501) until a new changelogs release is
cut, and grant id-token: write + environment: release to the release
job so the OIDC mint flow runs and matches the registered Trusted
Publisher (tempoxyz/pympp + publish.yml + release).1 parent c871405 commit add1c6b
1 file changed
Lines changed: 2 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
28 | | - | |
| 25 | + | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
0 commit comments