mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-25 10:01:02 -05:00
Merge pull request #147 from trail-of-forks/tob-stabilize-oidc
README, oidc-exchange: remove beta references
This commit is contained in:
commit
3b6670b0bd
2 changed files with 1 additions and 5 deletions
|
@ -67,10 +67,6 @@ settings page of your project on GitHub. See [Creating & using secrets].
|
|||
|
||||
### 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,
|
||||
|
|
|
@ -96,7 +96,7 @@ def assert_successful_audience_call(resp: requests.Response, domain: str):
|
|||
match resp.status_code:
|
||||
case HTTPStatus.FORBIDDEN:
|
||||
# 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(
|
||||
f"audience retrieval failed: repository at {domain} has trusted publishing disabled",
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue