@@ -65,33 +65,33 @@ settings page of your project on GitHub. See [Creating & using secrets].
65
65
# ## Publishing with OpenID Connect
66
66
67
67
> **IMPORTANT**: This functionality is in beta, and will not work for you
68
- > unless you're a member of the PyPI OIDC beta testers' group. For more
69
- > information, see [warehouse#12965].
68
+ > unless you're a member of the PyPI trusted publishing beta testers' group.
69
+ > For more information, see [warehouse#12965].
70
70
71
- This action supports PyPI's [OpenID Connect publishing]
71
+ This action supports PyPI's [trusted publishing]
72
72
implementation, which allows authentication to PyPI without a manually
73
73
configured API token or username/password combination. To perform
74
- [OIDC publishing][OpenID Connect Publishing ] with this action, your project's
75
- OIDC publisher must already be configured on PyPI.
74
+ [trusted publishing] with this action, your project's
75
+ publisher must already be configured on PyPI.
76
76
77
- To enter the OIDC flow, configure this action's job with the `id-token : write`
78
- permission and **without** an explicit username or password :
77
+ To enter the trusted publishing flow, configure this action's job with the
78
+ `id-token : write` permission and **without** an explicit username or password:
79
79
80
80
` ` ` yaml
81
81
jobs:
82
82
pypi-publish:
83
83
name: Upload release to PyPI
84
84
runs-on: ubuntu-latest
85
85
permissions:
86
- id-token: write # IMPORTANT: this permission is mandatory for OIDC publishing
86
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
87
87
steps:
88
88
# retrieve your distributions here
89
89
90
90
- name: Publish package distributions to PyPI
91
91
uses: pypa/gh-action-pypi-publish@release/v1
92
92
` ` `
93
93
94
- Other indices that support OIDC publishing can also be used, like TestPyPI :
94
+ Other indices that support trusted publishing can also be used, like TestPyPI :
95
95
96
96
` ` ` yaml
97
97
- name: Publish package distributions to TestPyPI
@@ -268,4 +268,4 @@ https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direc
268
268
https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md
269
269
270
270
[warehouse#12965]: https://github.com/pypi/warehouse/issues/12965
271
- [OpenID Connect Publishing ] : https://pypi.org/help/#openid-connect
271
+ [trusted publishing ] : https://docs. pypi.org/trusted-publishers/
0 commit comments