Skip to content

BLD: deploy.yaml: PyPI trusted publisher support#523

Merged
richardotis merged 7 commits intopycalphad:developfrom
richardotis:trusted-publisher
Mar 31, 2024
Merged

BLD: deploy.yaml: PyPI trusted publisher support#523
richardotis merged 7 commits intopycalphad:developfrom
richardotis:trusted-publisher

Conversation

@richardotis
Copy link
Collaborator

This PR adds support for trusted publishing on PyPI using GitHub Actions as an OpenID Connect provider. I have already performed the setup on the PyPI side to allow for this.

After this is merged, we can revoke the dedicated PyPI upload token for pycalphad and use GitHub Actions as our sole deployment tool. We already do this, but this will prevent a leaked token from being able to manipulate release artifacts out-of-band.

@codecov
Copy link

codecov bot commented Mar 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.48%. Comparing base (2953e0a) to head (d28313a).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #523   +/-   ##
========================================
  Coverage    90.48%   90.48%           
========================================
  Files           50       50           
  Lines         7880     7880           
========================================
  Hits          7130     7130           
  Misses         750      750           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@richardotis
Copy link
Collaborator Author

The TestPyPI piece can only be tested on a repo branch, so I will merge to see if this works.

@richardotis richardotis merged commit 2116efe into pycalphad:develop Mar 31, 2024
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.

1 participant