iterative / shtab

↔️ Automagic shell tab completion for Python CLI applications
https://docs.iterative.ai/shtab
Other
362 stars 35 forks source link

Migrate from PyPI tokens to Trusted Publishers #150

Closed 0x2b3bfa0 closed 11 months ago

0x2b3bfa0 commented 11 months ago

https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers#using-trusted-publishing-with-github-actions

casperdcl commented 11 months ago

image

https://pypi.org/manage/project/shtab/settings/publishing

0x2b3bfa0 commented 11 months ago

@casperdcl, I don't have access to that page, but it looks like you've configure it correctly. Does it work? 😅

casperdcl commented 11 months ago

probably. Wanna open a 4-line PR? https://github.com/casperdcl/deploy-pypi/issues/17 :)

0x2b3bfa0 commented 11 months ago

Sounds tempting, but I currently have to rotate 275 GitHub Actions secrets. 🙈 I'll get to it later this month, if you don't do it first. :slaking:

casperdcl commented 11 months ago

I'm a bit shocked that it really should be 4-ish lines. It's amazing how much @EnterpriseQualityCoding can be condensed :)