skops-dev / skops

skops is a Python library helping you share your scikit-learn based models and put them in production
https://skops.readthedocs.io/en/stable/
MIT License
440 stars 52 forks source link

CI move to pypi's trusted publisher workflow #399

Closed adrinjalali closed 10 months ago

adrinjalali commented 10 months ago

PyPi is moving to trusted publisher model, which I've configured for our repo, and needs some changes on the workflow. This would create a short lived token for the task.

It's now also strongly recommended that deployments use a separate environment on github, and I've configured that as well.

This PR can only be tested once merged, so I'm going to merge it to see how it behaves and if it works.