Skip to content

Replace static PyPI credentials with OIDC #2554

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

Closed
nejch opened this issue Apr 21, 2023 · 2 comments · Fixed by #2559
Closed

Replace static PyPI credentials with OIDC #2554

nejch opened this issue Apr 21, 2023 · 2 comments · Fixed by #2559

Comments

@nejch
Copy link
Member

nejch commented Apr 21, 2023

https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/

@nejch
Copy link
Member Author

nejch commented Apr 30, 2023

Very nice, tested on test.pypi.org, will open a PR a bit later.

https://github.com/nejch/python-gitlab/releases/tag/v3.15.4
https://test.pypi.org/project/python-gitlab/3.15.4/
https://github.com/nejch/python-gitlab/blob/main/.github/workflows/release.yml#L20-L30

image

@nejch
Copy link
Member Author

nejch commented Jun 10, 2023

Since we have the first release published via OIDC, I'm replacing the deploy user from pypi:
https://pypi.org/user/python-gitlab-deploy/

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant