Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing to PyPI with a Trusted Publisher #262

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jpopelka
Copy link
Member

@jscotka This will allow us to stop using your PyPI token for publishing requre.

I need you to Add a new publisher in PyPI

Owner: packit
Repository name: requre
Workflow name: pypi-publish.yml
(leave "Environment name" empty)

(or add me as a Maintainer so that I can do that)

This workflow needs to be added as a trusted publisher in
https://pypi.org/manage/project/requre/settings/publishing/
and then adding the 'id-token: write' permission and
removing the 'password: token' is all we need.
https://github.com/marketplace/actions/pypi-publish#trusted-publishing

See also: https://docs.pypi.org/trusted-publishers
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/e2563ebf25d24175aab88ecb7c70a316

✔️ pre-commit SUCCESS in 1m 42s
requre-tests FAILURE in 1m 53s
requre-reverse-dep-ogr-tests FAILURE in 6m 22s
✔️ requre-reverse-dep-packit-tests SUCCESS in 13m 26s

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