justinmayer / kagi

WebAuthn security keys and TOTP multi-factor authentication for Django
BSD 2-Clause "Simplified" License
91 stars 10 forks source link

Add support for trusted publishers #74

Closed apollo13 closed 1 year ago

apollo13 commented 1 year ago

This is the second "minimal" attempt version. I refrained from to many cleanups, most of them can/should be done once https://github.com/autopub/autopub/pull/38 is merged.

I will test this in my branch against testpypi and get back to you with the results :)

apollo13 commented 1 year ago

Successful run at https://github.com/apollo13/kagi/actions/runs/5162984001/jobs/9301054772

Required configuration on PyPI (replace apollo13 with justinmayer): image

apollo13 commented 1 year ago

Oh sorry, it fails on the follow up commit then, need to fix that :)

apollo13 commented 1 year ago

@justinmayer Anything else you would like to see here so we can merge this?

justinmayer commented 1 year ago

Required configuration on PyPI (replace apollo13 with justinmayer)

When and how exactly should this required configuration be performed?

apollo13 commented 1 year ago

When and how exactly should this required configuration be performed?

Anytime before we try to release a release using this new workflow. You just log into pypi, click "manage" for kagi and then add this under the "publishing" section.