Skip to content

Use twine's built-in Trusted Publishing support #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: unstable/v1
Choose a base branch
from

Conversation

facutuesca
Copy link
Contributor

@facutuesca facutuesca commented May 19, 2025

This PR removes the OIDC token exchange logic, replacing it with twine's built-in support for Trusted Publishing present in version 6.1.0.

In practice, this just means running twine without setting the TWINE_PASSWORD env variable whenever we detect the Trusted Publishing flow.

cc @woodruffw

@woodruffw
Copy link
Member

Nice, thanks @facutuesca! I'll do a full review in a bit.

@facutuesca facutuesca force-pushed the ft/twine-trusted-publish branch from dfb8951 to f2d4b3e Compare May 19, 2025 17:45
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @facutuesca!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants