FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(ci): use OIDC trusted publishing for pypi.org by nejch · Pull Request #2559 · python-gitlab/python-gitlab · GitHub

Repository navigation

chore(ci): use OIDC trusted publishing for pypi.org - #2559

Merged
max-wittig merged 2 commits into
mainfrom
feat/oidc-publishing
May 3, 2023
Merged

max-wittig merged 2 commits into
mainfrom
feat/oidc-publishing

Conversation

nejch commented May 1, 2023

Copy link
Copy Markdown
Member

Closes #2554

Tested on test.pypi.org, I've removed the static PYPI_TOKEN already. We can also remove the deploy token member now IMO

nejch force-pushed the feat/oidc-publishing branch from 27f8a1c to 5b549c5 Compare May 1, 2023 20:01
Comment thread requirements-test.txt

nejch commented May 1, 2023

Copy link
Copy Markdown
Member Author

@max-wittig could you take a look? Related settings are in
https://github.com/python-gitlab/python-gitlab/settings/environments, and
https://pypi.org/manage/project/python-gitlab/settings/publishing/.

The script is mostly from https://docs.pypi.org/trusted-publishers/using-a-publisher/#the-manual-way with a small fix, rather than using the whole extra action, so we can keep the current release flow.

max-wittig merged commit 7be09e5 into main May 3, 2023
max-wittig deleted the feat/oidc-publishing branch May 3, 2023 09:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Replace static PyPI credentials with OIDC

2 participants


Back | FazBrowse Home | New Git URL