Closed cvzi closed 1 year ago
@carpedm20 Hello Taehoon, could you please make some settings to be possible to automatically publish new releases to pypi? Unfortunately, I don't have sufficient privileges ((
@cvzi Thanks for sending me an email and sorry for the late reply. Just setup a new environment as you described in your email.
@TahirJalilov
That error indicates that you either haven't registered the publisher on PyPI's side, or that there may be a small typo in how you've registered it.
Can you confirm that you performed the trusted publisher registration, and also take a screencap of the publisher as it appears on the "publishing" page on PyPI? That'll help us debug further 🙂
Originally posted by @woodruffw in https://github.com/pypa/gh-action-pypi-publish/issues/138#issuecomment-1589481083
Can you double check that these settings are correct on pypi.org:
On pypi.org:
Goto the "Manage"-page of the project, and select Publishing on the left side. Then fill out the form with:
carpedm20 emoji pypipublish.yml pypi
@cvzi unfortunately, I don't have sufficient privileges to manage the project on pypi.org. @carpedm20 could you check, please, what's wrong with "trusted publisher" on pypi?
@TahirJalilov Sorry for the inconvenience. I just changed your role on pypi to the owner. Hope this resolves the problem.
@carpedm20 Thank you Taehoon!
@TahirJalilov This needs some configuration on Github and Pypi:
On Github:
Create a new Environment called
pypi
(maybe this needs to be done by @carpedm20 ?): Goto https://github.com/carpedm20/emoji/settings/environments Click New environment and name itpypi
On pypi.org:
Goto the "Manage"-page of the project, and select Publishing on the left side. Then fill out the form with:
Documentation on this pypi.org-feature: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
Ref #254