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

ci: trusted publisher #924

Merged
merged 1 commit into from
Feb 9, 2025
Merged

ci: trusted publisher #924

merged 1 commit into from
Feb 9, 2025

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Feb 4, 2025

This needs to be setup in PyPI as well. No need to make a pypi environment, it will be created automatically. Publishing a release triggers the deployment; you can add environment protection rules to requiressome number of maintainer approvals and such. Docs: https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/

You can download the SDist/wheel from any run, now, too.

Fields:

  • Workflow name: cd.yml
  • Environment name: pypi

@henryiii henryiii force-pushed the henryiii/ci/trusted branch from 7775dd4 to 1ac1925 Compare February 5, 2025 16:36
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii force-pushed the henryiii/ci/trusted branch from 1ac1925 to dba0edb Compare February 5, 2025 16:37
Copy link
Collaborator

@theacodes theacodes left a comment

Choose a reason for hiding this comment

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

Alright, I got the PyPI side setup. Let's see how it goes.

@theacodes theacodes merged commit b92b294 into main Feb 9, 2025
25 checks passed
@theacodes theacodes deleted the henryiii/ci/trusted branch February 9, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants