mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-09 10:23:35 -05:00
README, oidc-exchange: remove beta references
Signed-off-by: William Woodruff <william@trailofbits.com>
This commit is contained in:
parent
c542b72dc6
commit
fe431ff9ad
2 changed files with 1 additions and 10 deletions
|
@ -67,15 +67,6 @@ settings page of your project on GitHub. See [Creating & using secrets].
|
||||||
|
|
||||||
### Trusted publishing
|
### Trusted publishing
|
||||||
|
|
||||||
> **IMPORTANT**: This functionality is in beta, and will not work for you
|
|
||||||
> unless you're a member of the PyPI trusted publishing beta testers' group.
|
|
||||||
> For more information, see [warehouse#12965].
|
|
||||||
|
|
||||||
> **NOTE**: Trusted publishing is sometimes referred to by its
|
|
||||||
> underlying technology -- OpenID Connect, or OIDC for short.
|
|
||||||
> If you see references to "OIDC publishing" in the context of PyPI,
|
|
||||||
> this is what they're referring to.
|
|
||||||
|
|
||||||
This action supports PyPI's [trusted publishing]
|
This action supports PyPI's [trusted publishing]
|
||||||
implementation, which allows authentication to PyPI without a manually
|
implementation, which allows authentication to PyPI without a manually
|
||||||
configured API token or username/password combination. To perform
|
configured API token or username/password combination. To perform
|
||||||
|
|
|
@ -96,7 +96,7 @@ def assert_successful_audience_call(resp: requests.Response, domain: str):
|
||||||
match resp.status_code:
|
match resp.status_code:
|
||||||
case HTTPStatus.FORBIDDEN:
|
case HTTPStatus.FORBIDDEN:
|
||||||
# This index supports OIDC, but forbids the client from using
|
# This index supports OIDC, but forbids the client from using
|
||||||
# it (either because it's disabled, limited to a beta group, etc.)
|
# it (either because it's disabled, ratelimited, etc.)
|
||||||
die(
|
die(
|
||||||
f"audience retrieval failed: repository at {domain} has trusted publishing disabled",
|
f"audience retrieval failed: repository at {domain} has trusted publishing disabled",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue