Skip to content
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

Use Trusted Publishing #805

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Use Trusted Publishing #805

merged 2 commits into from
Aug 14, 2023

Conversation

kurtmckee
Copy link
Member

@kurtmckee kurtmckee commented Aug 14, 2023

This PR migrates the SDK GitHub workflows from PyPI token secrets to Trusted Publishing.

The projects on TestPyPI and PyPI have already been updated, and the GitHub environments have already been created.

In addition, this has been tested by creating a 3.27.1b1 tag on this branch and pushing it to GitHub to trigger the TestPyPI workflow.


📚 Documentation preview 📚: https://globus-sdk-python--805.org.readthedocs.build/en/805/

@kurtmckee kurtmckee added the no-news-is-good-news This change does not require a news file label Aug 14, 2023
@kurtmckee kurtmckee self-assigned this Aug 14, 2023
Copy link
Member

@sirosen sirosen left a comment

Choose a reason for hiding this comment

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

I've just been reading the GitHub intro to environments; it seems like we have review options and other settings available here.

Are there any details which were necessary when you set these up, or are they basically empty "labels" for now?

@kurtmckee
Copy link
Member Author

Are there any details which were necessary when you set these up, or are they basically empty "labels" for now?

They're empty labels. No configuration was required to make it work, but I did find that any attempt to restrict what branch the TestPyPI environment ran against failed miserably...perhaps because it triggers on new tags, not branch pushes? So currently the environments simply exist.

@kurtmckee kurtmckee merged commit 3828212 into main Aug 14, 2023
39 checks passed
@kurtmckee kurtmckee deleted the use-trusted-publishing branch August 14, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-news-is-good-news This change does not require a news file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants