Skip to content

Use PyPI Trusted publishing #2370

Closed
Closed

Description

@jku

https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/

We already do releases from GitHub CD workflow but this new PyPI feature allows us to remove the long lived secret from GitHub environment secrets: instead the GH action uses a short lived secret it receives from pypi.org using the OIDC identity of our workflow and release environment.

TODO:

Activity

  1. added a commit that references this issue on Apr 27, 2023
  2. jku commented on May 10, 2023

    @jku
    MemberAuthor
    • release worked (or rather, the issues noticed were unrelated to this change)
    • I've removed the token authorization from my pypi account
    • The token has also been deleted from the GH environment secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions